NerdDiffer/job_tracker

View on GitHub
app/views/contacts/show.html.erb

Summary

Maintainability
Test Coverage
<% @page_title = "#{contact.name}" %>

<h1><%= contact.name %></h1>

<p>
  <strong>Title:</strong>
  <%= contact.title %>
</p>

<p>
  <strong>Company:</strong>
  <%= contact.link_to_company %>
</p>

<p>
  <strong>Office Phone:</strong>
  <%= contact.phone_office %>
</p>

<p>
  <strong>Mobile Phone:</strong>
  <%= contact.phone_mobile %>
</p>

<p>
  <strong>Email:</strong>
  <%= contact.email %>
</p>

<%= link_to 'Edit', edit_contact_path(contact) %> |
<%= link_to 'Delete', contact, delete_link_opts %> |
<%= link_to 'Back', contacts_path %>

<div class='attached_records notes'>
  <%= render 'notes/notable_notes' %>
</div>