<h1>New person</h1>

<%= error_messages_for :person %>

<% form_for(:person, :url => people_path) do |f| %>
  <p>
    <b>Name</b><br />
    <%= f.text_field :name %>
  </p>

  <p>
    <%= submit_tag "Create" %>
  </p>
<% end %>

<%= link_to 'Back', people_path %>