Retrospring/app/views/devise/passwords/new.haml

16 lines
574 B
Plaintext
Raw Normal View History

2020-05-10 04:45:48 -07:00
- provide(:title, generate_title('Forgot your Password?'))
.container
.row
.col-sm-8.offset-sm-2
.card.mt-3
.card-body
%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', class: 'btn btn-primary mb-3'
= render 'devise/shared/links'
= render 'shared/links'