I have to choose between different strings with my rails form (simple_form_for), but I can't get the value submited. I have seen answers on stack, but none of them works.
here is the form in my view:
<%= simple_form_for(@prospect, url: new_client_special_order_path) do |f| %>
<%= f.radio_button :context, 'launch product' %>
<%= f.label :context, 'launch product', value: 'launch product' %>
<%= f.radio_button :context, "going abroad" %>
<%= f.label :context, "going abroad", value: "going abroad" %>
...
<% end %>
here are the parameters :
{"utf8"=>"✓", "authenticity_token"=>"7yRCcJOitjlTN1PhueUfjRTCWR4FflFGIS0McCr/Zt5tHBmR+siSVEX+Sn7o6x6gtzbDlPfqH9ZOziQUG8meqw==", "prospect"=>{"context"=>""}, "commit"=>"Créer mon brief", "controller"=>"home", "action"=>"create_client_prospect_special"}
Can you help please, thank you.