This repository has been archived on 2020-05-27. You can view files and clone it, but cannot push or open issues/pull-requests.
barleysodas/app/views/peoples/new.rhtml

10 lines
319 B
Plaintext

<%= error_messages_for :people %>
<% form_for(:people, :url => peoples_path, :code => params[:code]) do |f| %>
<p>Invitation Code: <strong><%= params[:code] -%></strong><%= hidden_field_tag 'code', params[:code] -%></p>
<%= render :partial => 'people_form' %>
<p>
<%= submit_tag "Create" %>
</p>
<% end %>