 
     isOk
 
+  unlockUi: ->
+    @emailEditor.hiddenInput.removeAttr 'disabled'
+    @passwordEditor.hiddenInput.removeAttr 'disabled'
+    @loginButton.removeAttr 'disabled'
 
   login: (event, element) ->
     if !@validateInputs()

          @span ' key'
      @subview 'emailEditor', new EditorView(mini: true, placeholderText: 'Could I please have an email address?'), outlet: 'emailEditor'
      @subview 'passwordEditor', new EditorView(mini: true, placeholderText: 'and a password?'), outlet: 'passwordEditor'
      @div class: 'block', =>
        @button click: 'login', class: 'btn btn-primary', outlet: 'loginButton', 'Log in'
        @button click: 'cancel', class: 'btn', outlet: 'cancelButton', 'Cancel'

      @emailEditor.getEditor().setText ''
      @passwordEditor.getEditor().setText ''
      @passwordEditor.originalText = ''
      @errorLabel.hide()

  hide: ->
    if @hasParent()
