diff --git a/js/components/ascribe_forms/form_register_piece.js b/js/components/ascribe_forms/form_register_piece.js index 41d0834f..6664fe6f 100644 --- a/js/components/ascribe_forms/form_register_piece.js +++ b/js/components/ascribe_forms/form_register_piece.js @@ -17,6 +17,12 @@ import { getLangText } from '../../utils/lang_utils'; let RegisterPieceForm = React.createClass({ + propTypes: { + handleSuccess: React.PropTypes.func, + isFineUploaderEditable: React.PropTypes.bool, + children: React.PropTypes.element + }, + getInitialState(){ return { digitalWorkKey: null, @@ -162,4 +168,4 @@ let FileUploader = React.createClass({ } }); -export default RegisterPieceForm; \ No newline at end of file +export default RegisterPieceForm; diff --git a/js/components/ascribe_forms/form_signup.js b/js/components/ascribe_forms/form_signup.js index 739b10dd..3a5ce94e 100644 --- a/js/components/ascribe_forms/form_signup.js +++ b/js/components/ascribe_forms/form_signup.js @@ -23,7 +23,8 @@ let SignupForm = React.createClass({ propTypes: { headerMessage: React.PropTypes.string, submitMessage: React.PropTypes.string, - handleSuccess: React.PropTypes.func + handleSuccess: React.PropTypes.func, + children: React.PropTypes.element }, mixins: [Router.Navigation], @@ -120,13 +121,7 @@ let SignupForm = React.createClass({ autoComplete="on" required/> - - - + {this.props.children} -
- + + + + + ); } diff --git a/js/components/whitelabel/prize/routes.js b/js/components/whitelabel/prize/routes.js index 372de33d..69f8e525 100644 --- a/js/components/whitelabel/prize/routes.js +++ b/js/components/whitelabel/prize/routes.js @@ -22,6 +22,7 @@ function getRoutes(commonRoutes) { + ); }