Fixing issue #19 for realsies (oriented by tracking)

This commit is contained in:
2014-04-10 20:10:04 -07:00
parent 13e72fef23
commit 16c75b2d0f
9 changed files with 28 additions and 5 deletions

View File

@@ -18,9 +18,14 @@
<%= @contract.signed_at.to_date.to_s(:long) %>
</small>
</h2>
<% unless @contract.created_by.blank? %>
<p>
<em>Created by <%= @contract.created_by.name %></em>
</p>
<% end %>
<% if @contract.document.blank? %>
No document uploaded
<p>No document uploaded</p>
<% else %>
<p><%= link_to "Download Contract", @contract.document.url %>
<div class="col-xs-12">