Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
22 lines (19 sloc) 671 Bytes
<% title "Companies" %>
<th>Email Addresses</th>
<th>Phone Numbers</th>
<% for company in @companies %>
<td><%= %></td>
<td><%= render :partial => 'email_addresses', :object => company.email_addresses %>
<td><%= render :partial => 'phone_numbers', :object => company.phone_numbers %>
<td><%= link_to "Show", company %></td>
<td><%= link_to "Edit", edit_company_path(company) %></td>
<td><%= link_to "Destroy", company, :confirm => 'Are you sure?', :method => :delete %></td>
<% end %>
<p><%= link_to "New Company", new_company_path %></p>
Jump to Line
Something went wrong with that request. Please try again.