1 <h1>Editing person</h1>
3 <%= error_messages_for :person %>
5 <% form_for(@person) do |f| %>
8 <%= f.text_field :name %>
13 <%= f.text_area :address %>
18 <%= f.text_field :age %>
22 <%= f.submit "Update" %>
26 <%= link_to 'Show', @person %> |
27 <%= link_to 'Back', people_path %>