'use strict'; import React from 'react'; import { Link } from 'react-router'; import LoginForm from './ascribe_forms/form_login'; import { getLangText } from '../utils/lang_utils'; import { setDocumentTitle } from '../utils/dom_utils'; let LoginContainer = React.createClass({ propTypes: { // Provided from AscribeApp currentUser: React.PropTypes.object, whitelabel: React.PropTypes.object, // Provided from router location: React.PropTypes.object }, render() { const { whitelabel: { name: whitelabelName }, location } = this.props; setDocumentTitle(getLangText('Log in')); return (
{getLangText('Forgot my password')}? {getLangText('Rescue me')}...
); } }); export default LoginContainer;