diff --git a/js/components/ascribe_forms/form_signup.js b/js/components/ascribe_forms/form_signup.js
index 91479e4b..55aff4b8 100644
--- a/js/components/ascribe_forms/form_signup.js
+++ b/js/components/ascribe_forms/form_signup.js
@@ -75,7 +75,7 @@ let SignupForm = React.createClass({
let tooltipPassword = getLangText('Your password must be at least 10 characters') + '.\n ' +
getLangText('This password is securing your digital property like a bank account') + '.\n ' +
getLangText('Store it in a safe place') + '!';
-
+ let email = this.getQuery().email ? this.getQuery().email : null;
return (
+
+ {this.props.title}
+
+
+
+ {this.props.content}
+
+
+ {this.props.buttons}
+
+
+
+ );
+ }
+});
+
+export default ActionPanel;
\ No newline at end of file
diff --git a/js/components/whitelabel/prize/components/settings_container.js b/js/components/whitelabel/prize/components/settings_container.js
index af72ac18..fecc1fd0 100644
--- a/js/components/whitelabel/prize/components/settings_container.js
+++ b/js/components/whitelabel/prize/components/settings_container.js
@@ -16,6 +16,8 @@ import Form from '../../../ascribe_forms/form';
import Property from '../../../ascribe_forms/property';
import FormPropertyHeader from '../../../ascribe_forms/form_property_header';
+import ActionPanel from '../../../ascribe_panel/action_panel';
+
import Table from '../../../ascribe_table/table';
import TableItem from '../../../ascribe_table/table_item';
import TableItemText from '../../../ascribe_table/table_item_text';
@@ -49,13 +51,13 @@ let Settings = React.createClass({
},
render() {
- let prize_settings = null;
+ let prizeSettings = null;
if (this.state.currentUser.is_admin){
- prize_settings = ;
+ prizeSettings = ;
}
return (
- {prize_settings}
+ {prizeSettings}
);
}
@@ -139,6 +141,7 @@ let PrizeJurySettings = React.createClass({
PrizeJuryActions.fetchJury();
let notification = new GlobalNotificationModel(response.notification, 'success', 5000);
GlobalNotificationActions.appendGlobalNotification(notification);
+ this.refs.form.refs.email.refs.input.getDOMNode().value = null;
},
render() {
@@ -150,30 +153,21 @@ let PrizeJurySettings = React.createClass({
if (this.state.members.length > -1) {
content = this.state.members.map(function(member, i) {
return (
-
-
-
- {member.status}
-
-
-
{getLangText('RESEND INVITATION')}
-
-
-
- );
+ }
+ />);
}, this);
content = (
-
+ {content}
);
}
return (
@@ -181,6 +175,7 @@ let PrizeJurySettings = React.createClass({