 Glyphicon = ReactBootstrap.Glyphicon
 ButtonInput = ReactBootstrap.ButtonInput
 ButtonGroup = ReactBootstrap.ButtonGroup
+Alert = ReactBootstrap.Alert
 
 update = React.addons.update
 
 LoginForm = React.createClass
+
   render: ->
     userGlyph = <Glyphicon glyph="user"/>
     lockGlyph = <Glyphicon glyph="lock"/>

        </form>
      </Panel>
    else
      registrationForm = if @props.status == "Register" then \
        <span>
          <Row>
            <Col md={6}>
              <Input type="text" id="first-name" valueLink={@props.firstname} label="Firstname"/>
            </Col>
            <Col md={6}>
              <Input type="text" id="last-name" valueLink={@props.lastname} label="Lastname"/>
            </Col>
          </Row>
          <Row>

      <div>
        <Col md={6} mdOffset={3}>
          <LoginForm setPage={@setPage} status={@state.page} onRegistration={@onRegistration}
            onLogin={@onLogin} onPasswordReset={@onPasswordReset} emailFilter={@state.settings.email_filter}
            {...links}/>
        </Col>
      </div>

