Contract-Signer/app/views/contracts/show.html.erb

41 lines
650 B
Plaintext
Raw Normal View History

2011-12-14 04:44:11 +00:00
<p>
<b>First Name:</b>
<%= @contract.first_name %>
</p>
<p>
<b>Last Name:</b>
<%= @contract.last_name %>
</p>
<p>
<b>Minor:</b>
<%= @contract.cosigner %>
</p>
2011-09-28 10:37:39 +00:00
<p>
<b>Boilerplate:</b>
<%=@contract.boilerplate %>
</p>
<p>
<b>Signature:</b>
<img src="<%=@contract.signature %>" />
</p>
<p>
<b>Date Signed:</b>
<%=h @contract.datesigned %>
</p>
<p>
<b>Hash:</b>
<%=h @contract.signinghash %>
</p>
<p>
<b>Verification:</b>
<%=Digest::SHA1.hexdigest @contract.boilerplate+@contract.signature+@contract.datesigned.to_s%>
</p>
<%= link_to 'Edit', edit_contract_path(@contract) %> |
<%= link_to 'Back', contracts_path %>