         @hide(logout: false)
       error: (response) =>
         resp = $.parseJSON(response.responseText)
-        @.$('.input-group').tooltip(
-          placement: 'top'
-          trigger: 'manual'
-          animation: false
-          title: resp.flash.title + " " + resp.flash.message
-        ).tooltip('show')
           
         switch resp.status
-          # when 422
-          #   # do stuff
+          when 422
+            @.$('.input-group').tooltip(
+              placement: 'top'
+              trigger: 'manual'
+              animation: false
+              html: true
+              title: @buildErrors(resp.errors)
+
+            ).tooltip('show')
           when 403
             @logoutUser()
           # when 500

      when "register"         then @submitRegister()
      when "login"            then @submitLogin()
      when "complete"         then @submitComplete()
      
    e.preventDefault()
    false
  
  submitRestore: ->
    

        @hide(logout: false)
      error: (response) =>
        resp = $.parseJSON(response.responseText)
          
        switch resp.status
          when 401
            @.$('.input-group').tooltip(
              placement: 'top'
              trigger: 'manual'
              animation: false
              title: resp.flash.title + " " + resp.flash.message
            ).tooltip('show')
          when 403
            @logoutUser()
              
  submitComplete: ->
    submitData = {}
