'use strict'; import React from 'react'; import Link from 'react-router/es6/Link'; import LoginForm from './ascribe_forms/form_login'; import withContext from './context/with_context'; import { whitelabelShape } from './prop_types'; import { setDocumentTitle } from '../utils/dom_utils'; import { getLangText } from '../utils/lang_utils'; let LoginContainer = React.createClass({ propTypes: { // Injected through HOCs whitelabel: whitelabelShape.isRequired }, render() { const { whitelabel: { name: whitelabelName } } = this.props; setDocumentTitle(getLangText('Log in')); return (