var React = require('react'); var ComponentBroker = require("../../../../src/ComponentBroker"); var ProgressBar = ComponentBroker.get("molecules/ProgressBar"); var Loader = require("react-loader"); var LoginController = require("../../../../src/controllers/templates/Login"); module.exports = React.createClass({ displayName: 'Login', mixins: [LoginController], loginContent: function() { if (this.state.busy) { return ( ); } else { return (

Please log in:

{this.componentForStep(this.state.step)}
{this.state.errorText}
); } }, render: function() { return (
{this.loginContent()}
); } });