Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
24 lines (21 sloc) 772 Bytes
<% title "People" %>
<th>First Name</th>
<th>Last Name</th>
<th>Phone Numbers</th>
<th>Email Addresses</th>
<% for person in @people %>
<td><%= person.first_name %></td>
<td><%= person.last_name %></td>
<td><%= render :partial => 'phone_numbers/phone_numbers', :object => person.phone_numbers %></td>
<td><%= render :partial => 'email_addresses/email_addresses', :object => person.email_addresses %>
<td><%= link_to "Show", person %></td>
<td><%= link_to "Edit", edit_person_path(person) %></td>
<td><%= link_to "Destroy", person, :confirm => 'Are you sure?', :method => :delete %></td>
<% end %>
<p><%= link_to "New Person", new_person_path %></p>
Something went wrong with that request. Please try again.