Contract <%= link_to 'Back', contracts_path, :class => "btn btn-default" %> <%= link_to 'Delete', contract_path(@contract), {:confirm => 'Are you sure you want to delete this forever?', :method => :delete, :class => "btn btn-danger"} if can? :destroy, @contract %>

<%= @contract.full_name %> <%= link_to "(#{@contract.user.name})", @contract.user if @contract.user %> signed <%= @contract.signed_at.to_date.to_s(:long) %>

<%= link_to "Download Contract", @contract.document.url %>