Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR RUBY

text_field_tag rails

    <%= form_tag create_invitation_path, method: :post do  %>
      <div>
        <%= text_field_tag "Email", params[:emails] %> # register input in params
      </div>
      <input type="submit" value="Envoyer une invitation">
    <% end %>
 
PREVIOUS NEXT
Tagged: #rails
ADD COMMENT
Topic
Name
9+3 =