diff --git a/js/components/ascribe_forms/form_consign.js b/js/components/ascribe_forms/form_consign.js index 5f6e2fc8..da40f009 100644 --- a/js/components/ascribe_forms/form_consign.js +++ b/js/components/ascribe_forms/form_consign.js @@ -65,7 +65,7 @@ let ConsignForm = React.createClass({ rows={1} defaultValue={this.props.message} placeholder={getLangText('Enter a message...')} - required="required"/> + required /> + required={this.props.showPersonalMessage}/> {this.getContractCheckbox()} {this.getAppendix()} @@ -304,4 +304,4 @@ let LoanForm = React.createClass({ } }); -export default LoanForm; \ No newline at end of file +export default LoanForm; diff --git a/js/components/ascribe_forms/form_piece_extradata.js b/js/components/ascribe_forms/form_piece_extradata.js index 45f684ad..f6ee4177 100644 --- a/js/components/ascribe_forms/form_piece_extradata.js +++ b/js/components/ascribe_forms/form_piece_extradata.js @@ -50,7 +50,7 @@ let PieceExtraDataForm = React.createClass({ rows={1} defaultValue={defaultValue} placeholder={getLangText('Fill in%s', ' ') + this.props.title} - required="required"/> + required />
diff --git a/js/components/ascribe_forms/form_share_email.js b/js/components/ascribe_forms/form_share_email.js index 53ca87c1..920df0da 100644 --- a/js/components/ascribe_forms/form_share_email.js +++ b/js/components/ascribe_forms/form_share_email.js @@ -71,11 +71,11 @@ let ShareForm = React.createClass({ rows={1} defaultValue={this.props.message} placeholder={getLangText('Enter a message...')} - required="required"/> + required /> ); } }); -export default ShareForm; \ No newline at end of file +export default ShareForm; diff --git a/js/components/ascribe_forms/form_submit_to_prize.js b/js/components/ascribe_forms/form_submit_to_prize.js index d9850ef7..5818a9ce 100644 --- a/js/components/ascribe_forms/form_submit_to_prize.js +++ b/js/components/ascribe_forms/form_submit_to_prize.js @@ -52,7 +52,7 @@ let PieceSubmitToPrizeForm = React.createClass({ + required /> + required /> + required /> + required /> + required /> + required />