       new KDNotificationView
         title   : err.message
         duration: 1000
+
+  setFailureNotice: ({cssClass, title, message}) ->
+    @failureNotice.setClass cssClass  if cssClass
+    @failureNotice.updatePartial \
+      """
+      <strong>#{title}</strong>
+      <p>#{message}</p>
+      """

        when "resendEmail"
          @$('.flex-wrapper').addClass 'one'
          @resendForm.usernameOrEmail.input.setFocus()

  getRouteWithEntryPoint:(route)->
    {entryPoint} = KD.config

      <div class="login-form-holder resend-confirmation-form">
        {{> @resendForm}}
      </div>
      {{> @failureNotice}}
      <div class="login-footer">
        <div class='first-row clearfix'>
          <div class='fl'>{{> @goToRecoverLink}}</div><div class='fr'>{{> @goToRegisterLink}}<i>•</i>{{> @backToLoginLink}}</div>
