diff options
author | Kelly Rauchenberger <fefferburbia@gmail.com> | 2017-07-02 15:00:52 -0400 |
---|---|---|
committer | Kelly Rauchenberger <fefferburbia@gmail.com> | 2017-07-02 15:00:52 -0400 |
commit | 7971d7ac77c83717afcceaa1f476d1eb9afd5918 (patch) | |
tree | 5253143e7725b3f870d2f7070cf7b767c80ae1e7 /app/views/users/passwords/new.html.haml | |
parent | 1c606f4a6e99576614f5ce3c698f56e96d03e6a3 (diff) | |
download | thoughts-7971d7ac77c83717afcceaa1f476d1eb9afd5918.tar.gz thoughts-7971d7ac77c83717afcceaa1f476d1eb9afd5918.tar.bz2 thoughts-7971d7ac77c83717afcceaa1f476d1eb9afd5918.zip |
Styled password reset form
Diffstat (limited to 'app/views/users/passwords/new.html.haml')
-rw-r--r-- | app/views/users/passwords/new.html.haml | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/app/views/users/passwords/new.html.haml b/app/views/users/passwords/new.html.haml new file mode 100644 index 0000000..03d3854 --- /dev/null +++ b/app/views/users/passwords/new.html.haml | |||
@@ -0,0 +1,11 @@ | |||
1 | %h2 Forgot your password? | ||
2 | = devise_error_messages! | ||
3 | #principal | ||
4 | = form_for(resource, as: resource_name, url: password_path(resource_name), html: { method: :post }) do |f| | ||
5 | .field | ||
6 | = f.label :email | ||
7 | = f.email_field :email, autofocus: true | ||
8 | .submit-field | ||
9 | = f.submit "Submit" | ||
10 | .navigation= link_to "Log in", new_session_path(resource_name) | ||
11 | .navigation= link_to "← Back to thoughts", root_url | ||