                       placeholder: 'Email or username'
                       name: 'identifier'
                       value: that.state.page.identifier
-                      onChange: that.updateIdentifier
+                      onChange: that.handleChange
                     }
                   k.div {className: 'form-group'}, ->
                     k.label {htmlFor: 'inputPassword'}, 'Password'

                      placeholder: 'Password'
                      name: 'password'
                      value: that.state.page.password
                      onChange: that.updatePassword
                    }
                  k.button {
                    type: 'submit'

) ->
  React.createClass
    mixins: [Cursors]
    handleChange: (event) ->
      command =
        page: {}
      command.page[event.target.name] = $set: event.target.value
      this.update command
    handleClick: (event) ->
      event.preventDefault()
      console.log 'ComponentLogin', 'handleClick', event
