       @emailEditor.getEditor().setText ''
       @passwordEditor.getEditor().setText ''
       @passwordEditor.originalText = ''
+      @errorLabel.hide()
 
   hide: ->
     if @hasParent()

    @passwordEditor.hiddenInput.attr 'disabled', 'disabled'
    @loginButton.attr 'disabled', 'disabled'
    @spinner.removeClass 'hidden'

    client = new ApiClient settings.apiUrl


    isOk

  unlockUi: ->
    @emailEditor.hiddenInput.removeAttr 'disabled'
    @passwordEditor.hiddenInput.removeAttr 'disabled'
    @loginButton.removeAttr 'disabled'

  login: (event, element) ->
    if !@validateInputs()
