Now with extra protection - tests!
[railsex.git] / test / app / views / people / edit.html.erb
blob4a1d17a11ba2900638650e491a06f3e3ad93dde0
1 <h1>Editing person</h1>
3 <%= error_messages_for :person %>
5 <% form_for(@person) do |f| %>
6   <p>
7     <b>Name</b><br />
8     <%= f.text_field :name %>
9   </p>
11   <p>
12     <b>Address</b><br />
13     <%= f.text_area :address %>
14   </p>
16   <p>
17     <b>Age</b><br />
18     <%= f.text_field :age %>
19   </p>
21   <p>
22     <%= f.submit "Update" %>
23   </p>
24 <% end %>
26 <%= link_to 'Show', @person %> |
27 <%= link_to 'Back', people_path %>