retrospring/app/views/devise/passwords/new.html.haml
Dominik M. Kwiatek a8c335899d
Use email field for password reset (#77)
Fixes unsubmmittable password reset form
2020-04-22 19:22:16 +01:00

11 lines
426 B
Text

- provide(:title, generate_title("Forgot your Password?"))
.container
%h1 Forgot your password?
= bootstrap_form_for(resource, as: resource_name, url: password_path(resource_name), html: { method: :post }) do |f|
= devise_error_messages!
= f.email_field :email, autofocus: true, label: "Email address"
= f.submit "Send me password reset instructions"
= render "devise/shared/links"
= render "shared/links"