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