Skip to content

Instantly share code, notes, and snippets.

@seanirby
Created June 7, 2013 04:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save seanirby/5727048 to your computer and use it in GitHub Desktop.
Save seanirby/5727048 to your computer and use it in GitHub Desktop.
Need a to this user data in its own hash in params
<%#= NEED TO Namespace potential user params %>
<%= form_tag send_invite_path, :method => "post" do %>
<%= label_tag :email, "Email" %>
<%= text_field_tag :email %>
<%= label_tag :first_name, "First Name" %>
<%= text_field_tag :first_name %>
<%= label_tag :last_name, "Last Name" %>
<%= text_field_tag :last_name %>
<%= label_tag :company, "Company" %>
<%= text_field_tag :company %>
<%= label_tag :role, "Role(optional)" %>
<%= text_field_tag :role %>
<%= label_tag :message, "Message to Admin" %>
<%= text_area_tag :message %>
<%= submit_tag "Submit" %>
<% end %>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment