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('Are you sure you want to submit to the prize?')}
+{getLangText('This is an irrevocable action%s', '.')}
+