'use strict'; import React from 'react'; import Router from 'react-router'; import LoginForm from './ascribe_forms/form_login'; import { getLangText } from '../utils/lang_utils'; let Link = Router.Link; let LoginContainer = React.createClass({ propTypes: { message: React.PropTypes.string, redirectOnLoggedIn: React.PropTypes.bool, redirectOnLoginSuccess: React.PropTypes.bool }, getDefaultProps() { return { message: getLangText('Enter') + ' ascribe', redirectOnLoggedIn: true, redirectOnLoginSuccess: true }; }, render() { return (