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

View File

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