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

16 lines
609 B
Plaintext

- 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|
= render 'devise/shared/error_messages', resource: resource
= 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'