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

Corrections on loan form

This commit is contained in:
Tim Daubenschütz 2015-09-28 15:14:45 +02:00
parent 5b41e368ac
commit 5b9d7eae65
2 changed files with 3 additions and 1 deletions

View File

@ -107,7 +107,7 @@ let LoanForm = React.createClass({
if (this.state.contractAgreementList && this.state.contractAgreementList.length > 0) {
return {'contract_agreement_id': this.state.contractAgreementList[0].id};
}
return null;
return {};
},
getContractCheckbox() {
@ -122,6 +122,7 @@ let LoanForm = React.createClass({
return (
<Property
name="terms"
label={getLangText('Loan Contract')}
hidden={false}
className="notification-contract-pdf">
<embed

View File

@ -32,6 +32,7 @@
margin-bottom: 0;
.loan-form {
margin-top: .5em;
height: 45vh;
}
}