diff --git a/app/views/contracts/index.html.erb b/app/views/contracts/index.html.erb index f0a99f1..8c7a853 100644 --- a/app/views/contracts/index.html.erb +++ b/app/views/contracts/index.html.erb @@ -6,6 +6,7 @@
Scan? | Name | User | Date | @@ -14,6 +15,11 @@ <% @contracts.sort_by{|r| [r.last_name] }.each do |contract| %>
---|---|---|---|
+ <% unless contract.document.blank? %> + + <% end %> + |
<%= contract.last_name %>,
<%= contract.first_name %>
diff --git a/app/views/contracts/show.html.erb b/app/views/contracts/show.html.erb
index 4311350..f1fdebc 100644
--- a/app/views/contracts/show.html.erb
+++ b/app/views/contracts/show.html.erb
@@ -8,7 +8,8 @@
- <%= @contract.full_name %> + <%= @contract.first_name %> + <%= @contract.last_name %> <%= link_to "(#{@contract.user.name})", @contract.user if @contract.user %> signed |