1
0
mirror of https://github.com/ascribe/onion.git synced 2024-12-22 09:23:13 +01:00

add download button to loan form

This commit is contained in:
Tim Daubenschütz 2015-10-16 11:29:08 +02:00
parent e804722c71
commit 32d317cdef
2 changed files with 5 additions and 2 deletions

View File

@ -130,6 +130,9 @@ let LoanForm = React.createClass({
src={contract.blob.url_safe}
alt="pdf"
pluginspage="http://www.adobe.com/products/acrobat/readstep2.html"/>
<a href={contract.blob.url_safe} target="_blank">
<span className="glyphicon glyphicon-download" aria-hidden="true"></span> Download contract
</a>
{/* We still need to send the server information that we're accepting */}
<InputCheckbox
style={{'display': 'none'}}

View File

@ -21,7 +21,6 @@
.notification-contract-pdf, .notification-contract-footer {
width: 100%;
max-width: 750px;
margin: 0 auto;
}
.notification-contract-pdf {
@ -29,7 +28,8 @@
border: 1px solid #cccccc;
width: 100%;
height: 60vh;
margin-bottom: 0;
margin-top: .5em;
margin-bottom: 1em;
.loan-form {
margin-top: .5em;