about summary refs log tree commit diff stats
path: root/app/views/users/passwords/new.html.haml
blob: 03d385454fae52a4f35cc55484147cdafa8b941e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
%h2 Forgot your password?
= devise_error_messages!
#principal
  = form_for(resource, as: resource_name, url: password_path(resource_name), html: { method: :post }) do |f|
    .field
      = f.label :email
      = f.email_field :email, autofocus: true
    .submit-field
      = f.submit "Submit"
.navigation= link_to "Log in", new_session_path(resource_name)
.navigation= link_to "← Back to thoughts", root_url