From 07f4cdd2e15ab1be3652d46652af1db27f94923c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim=20Daubensch=C3=BCtz?= Date: Wed, 15 Jul 2015 00:52:16 +0200 Subject: [PATCH] advance prize submission form --- .../ascribe_forms/form_submit_to_prize.js | 51 +++++++++++++++++-- 1 file changed, 47 insertions(+), 4 deletions(-) diff --git a/js/components/ascribe_forms/form_submit_to_prize.js b/js/components/ascribe_forms/form_submit_to_prize.js index 06c38640..e7d9716d 100644 --- a/js/components/ascribe_forms/form_submit_to_prize.js +++ b/js/components/ascribe_forms/form_submit_to_prize.js @@ -2,7 +2,12 @@ import React from 'react'; -import Form from '../ascribe_forms/form'; +import Form from './form'; +import Property from './property'; +import InputTextAreaToggable from './input_textarea_toggable'; +import InputCheckbox from './input_checkbox'; + +import Alert from 'react-bootstrap/lib/Alert'; import AppConstants from '../../constants/application_constants'; import ApiUrls from '../../constants/api_urls'; @@ -19,7 +24,9 @@ let PieceSubmitToPrizeForm = React.createClass({ }, getFormData() { - return this.props.piece; + return { + id: this.props.piece.id + }; }, render() { @@ -41,8 +48,44 @@ let PieceSubmitToPrizeForm = React.createClass({
}> -

{getLangText('Are you sure you want to submit to the prize?')}

-

{getLangText('This is an irrevocable action%s', '.')}

+ + + + + + + + + + {' ' + getLangText('I agree to the Terms of Service the art price') + ' '} + ( + {getLangText('read')} + ) + + + + +

{getLangText('Are you sure you want to submit to the prize?')}

+

{getLangText('This is an irrevocable action%s', '.')}

+
+ ); }