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

16 lines
633 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?
2022-09-07 12:41:42 -07:00
= bootstrap_form_for(resource, as: resource_name, url: password_path(resource_name), html: { method: :post }, data: { turbo: false }) do |f|
2020-05-22 14:33:30 -07:00
= render 'devise/shared/error_messages', resource: resource
2020-05-10 04:45:48 -07:00
= 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'