Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Tree: 4a5ca1cd7a
Fetching contributors…

Cannot retrieve contributors at this time

27 lines (20 sloc) 0.794 kB
<% title "Company" %>
<p>
<strong>Name:</strong>
<%= @company.name %>
</p>
<p>
<strong>Phone Numbers:</strong>
<%= render :partial => 'phone_numbers/phone_numbers', :object => @company.phone_numbers %>
</p>
<%= link_to "Add a New Phone Number", new_phone_number_path(:company_id => @company), :id => "new_phone_number" %>
<p>
<strong>Email Addresses:</strong>
<%= render :partial => 'email_addresses/email_addresses', :object => @company.email_addresses %>
</p>
<%= link_to "Add a New Email Address", new_email_address_path(:company_id => @company), :id => "new_email_address" %>
<p>
<%= link_to "Edit", edit_company_path(@company) %> |
<%= link_to "Destroy", @company, :confirm => 'Are you sure?', :method => :delete %> |
<%= link_to "View All", companies_path %>
</p>
Jump to Line
Something went wrong with that request. Please try again.