'use strict'; import React from 'react'; import SignupForm from './ascribe_forms/form_signup'; let SignupContainer = React.createClass({ getInitialState() { return { submitted: false, message: null }; }, handleSuccess(message){ this.setState({ submitted: true, message: message }); }, render() { if (this.state.submitted){ return (

{this.state.message}
); } return (
); } }); export default SignupContainer;