diff --git a/js/components/login_container.js b/js/components/login_container.js index 1645e206..ae49416e 100644 --- a/js/components/login_container.js +++ b/js/components/login_container.js @@ -11,6 +11,7 @@ import UserActions from '../actions/user_actions'; import Form from './ascribe_forms/form'; import Property from './ascribe_forms/property'; +import FormPropertyHeader from './ascribe_forms/form_property_header'; import apiUrls from '../constants/api_urls'; import AppConstants from '../constants/application_constants'; @@ -61,10 +62,8 @@ let LoginContainer = React.createClass({ return (

-
- {this.props.message} -
- +
{getLangText('Not an ascribe user')}? {getLangText('Sign up')}...
{getLangText('Forgot my password')}? {getLangText('Rescue me')}... @@ -77,7 +76,8 @@ let LoginContainer = React.createClass({ let LoginForm = React.createClass({ propTypes: { - redirectOnLoginSuccess: React.PropTypes.bool + redirectOnLoginSuccess: React.PropTypes.bool, + message: React.PropTypes.string }, handleSuccess(){ @@ -106,6 +106,7 @@ let LoginForm = React.createClass({ render() { return (
}> + +

{this.props.message}

+
@@ -140,7 +144,6 @@ let LoginForm = React.createClass({ name="password" required/> -
); }