Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
19 lines (16 sloc) 727 Bytes
<% title "People" %>
<div class="people">
<% @people.each do |person| %>
<div class="company">
<h4><%= person.last_name %>, <%= person.first_name %></h4>
<%= render :partial => 'phone_numbers/phone_numbers', :object => person.phone_numbers %>
<%= render :partial => 'email_addresses/email_addresses', :object => person.email_addresses %>
<ul class="actions">
<li><%= link_to "Show", person %></li>
<li><%= link_to "Edit", edit_person_path(person) %></li>
<li><%= link_to "Destroy", person, :confirm => 'Are you sure?', :method => :delete %></li>
</ul>
</div>
<% end %>
</table>
<p><%= link_to "New Person", new_person_path, :id => "new_person" %></p>
Jump to Line
Something went wrong with that request. Please try again.