             required      : "Please enter a password."
             minLength     : "Passwords should be at least 8 characters."
         decorateValidation: no
+
+    @email?.destroy()
+    @email = new LoginInputViewWithLoader
+      inputOptions        :
+        name              : 'email'
+        placeholder       : 'Email address'
+        attributes        :
+          testpath        : 'register-form-email'
+        validate          : KD.utils.getEmailValidator
+          container       : this
+          password        : @password
+        decorateValidation: no
+        focus             : => @email.icon.unsetTooltip()
+        keydown           : (event) => @submitForm event  if event.which is ENTER
+        blur              : => @fetchGravatarInfo @email.input.getValue()
+        change            : => @emailIsAvailable = no
+
 
     {buttonTitle} = @getOptions()
 

    super options, data

    @emailIsAvailable = no

    @email?.destroy()
    @email = new LoginInputViewWithLoader
      inputOptions        :
        name              : 'email'
        placeholder       : 'Email address'
        attributes        :
          testpath        : 'register-form-email'
        validate          : @getEmailValidator()
        decorateValidation: no
        focus             : => @email.icon.unsetTooltip()
        keydown           : (event) => @submitForm event  if event.which is ENTER
        blur              : => @fetchGravatarInfo @email.input.getValue()
        change            : => @emailIsAvailable = no

    @password?.destroy()
    @password = new LoginInputView

    input.clearValidationFeedback() for input in inputs

    super

  callbackAfterValidation: ->

