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