Display changes for contract
This commit is contained in:
parent
20594d651c
commit
0cfa83a9f7
|
@ -6,6 +6,7 @@
|
|||
|
||||
<table class="table">
|
||||
<tr>
|
||||
<th>Scan?</th>
|
||||
<th>Name</th>
|
||||
<th>User</th>
|
||||
<th>Date</th>
|
||||
|
@ -14,6 +15,11 @@
|
|||
|
||||
<% @contracts.sort_by{|r| [r.last_name] }.each do |contract| %>
|
||||
<tr>
|
||||
<td>
|
||||
<% unless contract.document.blank? %>
|
||||
<span class="glyphicon glyphicon-ok"></span>
|
||||
<% end %>
|
||||
</td>
|
||||
<td>
|
||||
<%= contract.last_name %>,
|
||||
<%= contract.first_name %>
|
||||
|
|
|
@ -8,7 +8,8 @@
|
|||
|
||||
|
||||
<h2>
|
||||
<%= @contract.full_name %>
|
||||
<%= @contract.first_name %>
|
||||
<%= @contract.last_name %>
|
||||
<%= link_to "(#{@contract.user.name})", @contract.user if @contract.user %>
|
||||
<small>
|
||||
signed
|
||||
|
|
Loading…
Reference in New Issue
Block a user