                   className: classNames(
                     'btn'
                     'btn-primary'
-                    {disabled: that.hasBeenClicked() and that.hasErrors()}
+                    {disabled: that.hasClickedSubmit() and that.hasErrors()}
                   )
                   onClick: that.handleSubmit
                 }, 'Login'

      if that.hasErrors()
        this.update
          page:
            hasBeenClicked: {$set: true}
        return
      promise = login(that.state.page.data)
      promise

    hasSuccess: (name) ->
      this.state.page.data?[name]? and not this.state.page.errors?[name]?
    hasError: (name) ->
      this.hasClickedSubmit() and this.state.page.errors?[name]?
    hasFeedback: (name) ->
      this.hasSuccess(name) or this.hasError(name)
    hasErrors: ->
      this.state.page.errors?
    hasClickedSubmit: ->
      this.state.page.hasClickedSubmit is true
    getError: (name) ->
      this.state.page.errors?[name]
    getValue: (name) ->
