blob: d5972f5624f4b8a18a8e6b6d23048b65f368f190 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
|
- title "Forgot password"
%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
|