import React, {Component} from 'react'; import {connect} from 'react-redux'; import Humanize from 'humanize-plus'; import {reduxForm, Field} from 'redux-form'; import autobind from 'class-autobind'; import {ControlLabel, FormControl, Button} from 'react-bootstrap'; import {login} from '../actions'; import {loginInfoSelector} from '../selectors'; class Login extends Component { constructor(props) { super(props); autobind(this); } handleLogin(form) { this.props.login(form, this.props.loginInfo); } renderComponent(field) { return (