         validate      : @getEmailValidator()
         decorateValidation: no
         focus         : => @email.icon.unsetTooltip()
-        keyup         : (event)   => @submitForm event  if event.which is ENTER
+        keyup         : (event) => @submitForm event  if event.which is ENTER
 
 
 

      loader        : yes
      callback      : @bound 'submitForm'




    @invitationCode = new LoginInputView
      cssClass      : 'hidden'
      inputOptions  :

    rules       :
      required  : yes
      email     : yes
      # available : (input, event) =>
      #   return if event?.which is 9
      #   input.setValidationResult 'available', null
      #   email = input.getValue()
      #   if input.valid
      #     # @email.loader.show()
      #     KD.remote.api.JUser.emailAvailable email, (err, response)=>
      #       # @email.loader.hide()
      #       if err then warn err
      #       else
      #         if response
      #           input.setValidationResult 'available', null
      #           EMAIL_VALID = yes
      #         else
      #           input.setValidationResult 'available', "Sorry, \"#{email}\" is already in use!"
      #           EMAIL_VALID = no
      #   return
    messages    :
      required  : 'Please enter your email address.'
      email     : 'That doesn\'t seem like a valid email address.'
