       testPath    : 'landing-recover-password'
       href        : '/Recover'
       click       : =>
-        @registerForm.reset()
+        @resetRegisterFormIfNeed()
 
     @goToRegisterLink = new CustomLinkView
       title       : 'Sign up'


    super options, data

    @logo = new KDCustomHTMLView
      tagName    : 'a'
      cssClass   : 'koding-logo'
      partial    : '<cite></cite>'
      attributes : href : '/'
      click      : =>
        @registerForm.reset()

    @backToLoginLink = new CustomLinkView
      title       : 'Sign In'

      new KDNotificationView
        title   : err.message
        duration: 1000
  
  resetRegisterFormIfNeed: ->  
    if @resetRegisterForm
      @registerForm.reset()
      @resetRegisterForm = false

