diff --git a/js/components/ascribe_forms/form_loan.js b/js/components/ascribe_forms/form_loan.js index 201ba174..ceb3151f 100644 --- a/js/components/ascribe_forms/form_loan.js +++ b/js/components/ascribe_forms/form_loan.js @@ -28,7 +28,6 @@ let LoanForm = React.createClass({ startdate: React.PropTypes.object, enddate: React.PropTypes.object, showPersonalMessage: React.PropTypes.bool, - url: React.PropTypes.string, id: React.PropTypes.object, message: React.PropTypes.string, @@ -193,7 +192,6 @@ let LoanForm = React.createClass({ placeholder={getLangText('Enter a message...')} required="required"/> - @@ -203,6 +201,7 @@ let LoanForm = React.createClass({ required/> {this.getContractCheckbox()} + {this.props.children} ); } diff --git a/js/components/whitelabel/wallet/components/cyland/cyland_register_piece.js b/js/components/whitelabel/wallet/components/cyland/cyland_register_piece.js index 88a5c305..7b4e3fe9 100644 --- a/js/components/whitelabel/wallet/components/cyland/cyland_register_piece.js +++ b/js/components/whitelabel/wallet/components/cyland/cyland_register_piece.js @@ -161,7 +161,7 @@ let CylandRegisterPiece = React.createClass({ let today = new Moment(); let datetimeWhenWeAllWillBeFlyingCoolHoverboardsAndDinosaursWillLiveAgain = new Moment(); datetimeWhenWeAllWillBeFlyingCoolHoverboardsAndDinosaursWillLiveAgain.add(1000, 'years'); - + console.log(this.state.piece.id) return ( - - - - {' ' + getLangText('I agree to the Terms of Service of Cyland Archive') + ' '} - ( - {getLangText('read')} - ) - - - - + onLoggedOut={this.onLoggedOut} /> @@ -221,7 +207,21 @@ let CylandRegisterPiece = React.createClass({ startdate={today} enddate={datetimeWhenWeAllWillBeFlyingCoolHoverboardsAndDinosaursWillLiveAgain} showPersonalMessage={false} - handleSuccess={this.handleLoanSuccess}/> + handleSuccess={this.handleLoanSuccess}> + + + + {' ' + getLangText('I agree to the Terms of Service of Cyland Archive') + ' '} + ( + {getLangText('read')} + ) + + + +