Skip to content

Instantly share code, notes, and snippets.

@novemberkilo
Created January 12, 2011 10:41
Show Gist options
  • Save novemberkilo/776001 to your computer and use it in GitHub Desktop.
Save novemberkilo/776001 to your computer and use it in GitHub Desktop.
The partial making up the form
#user_details_base.hide= render "invitee_form"
- form_tag invite_other_users_path(@user),
:method => :put, :id => "form1", :class => "user_invite" do
.user_details
= render "invitee_form"
.add_user_button
= link_to "Add another", "#", :id => "add_user"
%span
= submit_tag "Submit"
= label_tag "By clicking submit each invitee will be sent an invitation"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment