diff --git a/js/components/ascribe_forms/form_loan.js b/js/components/ascribe_forms/form_loan.js index fe6f1810..a0202e7f 100644 --- a/js/components/ascribe_forms/form_loan.js +++ b/js/components/ascribe_forms/form_loan.js @@ -22,7 +22,7 @@ import { getLangText } from '../../utils/lang_utils'; let LoanForm = React.createClass({ propTypes: { - fullform: React.PropTypes.bool, + loanHeading: React.PropTypes.string, email: React.PropTypes.string, gallery: React.PropTypes.string, startdate: React.PropTypes.object, @@ -37,7 +37,8 @@ let LoanForm = React.createClass({ getDefaultProps() { return { - fullform: false + loanHeading: '', + showPersonalMessage: true }; }, @@ -103,7 +104,7 @@ let LoanForm = React.createClass({ }, getButtons() { - if(this.props.fullform) { + if(this.props.loanHeading) { return (