text_field_tag transfer params rails code example
Example: text_field_tag transfer params rails
<%= form_tag create_invitation_path, method: :post do %>
<%= text_field_tag "Email", params[:emails] %> # register input in params
<input type="submit" value="Envoyer une invitation">
<% end %>