From d1577190430c7d961f0b91ab6c937e781d6b3b7a Mon Sep 17 00:00:00 2001 From: ddejongh Date: Tue, 2 Jun 2015 15:38:47 +0200 Subject: [PATCH] multiloan --- js/components/ascribe_forms/form_loan.js | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/js/components/ascribe_forms/form_loan.js b/js/components/ascribe_forms/form_loan.js index 90232bd8..483d0f0a 100644 --- a/js/components/ascribe_forms/form_loan.js +++ b/js/components/ascribe_forms/form_loan.js @@ -28,8 +28,8 @@ let LoanForm = React.createClass({ bitcoin_id: this.getBitcoinIds().join(), loanee: this.refs.loanee.state.value, gallery_name: this.refs.gallery_name.state.value, - startdate: this.refs.startdate.state.value, - enddate: this.refs.enddate.state.value, + startdate: this.refs.startdate.state.value.format("YYYY-MM-DD"), + enddate: this.refs.enddate.state.value.format("YYYY-MM-DD"), loan_message: this.refs.loan_message.state.value, password: this.refs.password.state.value, terms: this.refs.terms.state.value @@ -108,13 +108,9 @@ ${username}`; placeholderText="Loan start date" />
- + placeholderText="Loan end date" />