Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: a35b9123a6
Fetching contributors…

Cannot retrieve contributors at this time

19 lines (16 sloc) 0.657 kb
<% title "Companies" %>
<div class="companies">
<% @companies.each do |company| %>
<div class="company">
<h4><%= company.name %></h4>
<%= render :partial => 'email_addresses/email_addresses', :object => company.email_addresses %>
<%= render :partial => 'phone_numbers/phone_numbers', :object => company.phone_numbers %>
<ul class="actions">
<%= link_to "Show", company %>
<%= link_to "Edit", edit_company_path(company) %>
<%= link_to "Destroy", company, :confirm => 'Are you sure?', :method => :delete %>
</ul>
</div>
<% end %>
</div>
<p><%= link_to "New Company", new_company_path %></p>
Jump to Line
Something went wrong with that request. Please try again.