Modifying appearance of contract

This commit is contained in:
Will Bradley 2011-12-13 22:04:12 -07:00
parent 7deb88b29c
commit a2c8ceb258
2 changed files with 7 additions and 12 deletions

View File

@ -1,9 +1,6 @@
<p>
<b>First Name:</b>
<%= @contract.signer.first_name %>
</p>
<p>
<b>Last Name:</b>
<%= @contract.signer.last_name %>
</p>
<p>
@ -12,26 +9,20 @@
</p>
<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>
<br/>
<b>Hash:</b>
<%=h @contract.signinghash %>
</p>
<p>
<br/>
<b>Verification:</b>
<%=Digest::SHA1.hexdigest @contract.boilerplate+@contract.signature+@contract.datesigned.to_s%>
</p>

View File

@ -1,6 +1,6 @@
body { background-color: #fff; color: #333; }
body, p, ol, ul, td {
body, ol, ul, td {
font-family: verdana, arial, helvetica, sans-serif;
font-size: 13px;
line-height: 18px;
@ -16,6 +16,10 @@ a { color: #000; }
a:visited { color: #666; }
a:hover { color: #fff; background-color:#000; }
p {
margin: 0.25em 0;
}
.fieldWithErrors {
padding: 2px;
background-color: red;