Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
tree: 01c6c8b1c6
Fetching contributors…

Cannot retrieve contributors at this time

23 lines (19 sloc) 0.525 kB
<% title "Person" %>
<p>
<strong>First Name:</strong>
<%= @person.first_name %>
</p>
<p>
<strong>Last Name:</strong>
<%= @person.last_name %>
</p>
<p>
<strong>Phone Numbers:</strong>
<%= render :partial => 'phone_numbers' %>
</p>
<%= link_to "Add a New Phone Number", new_phone_number_path(:person_id => @person.id ) %>
<p>
<%= link_to "Edit", edit_person_path(@person) %> |
<%= link_to "Destroy", @person, :confirm => 'Are you sure?', :method => :delete %> |
<%= link_to "View All", people_path %>
</p>
Jump to Line
Something went wrong with that request. Please try again.