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

18 lines
634 B
Text
Raw Normal View History

2022-06-11 16:13:06 +00:00
%section.w-100.min-vh-100.d-flex.align-items-center.justify-content-center
%div
= render 'layouts/site'
%h2= t('.forgot_your_password')
= form_for(resource, as: resource_name, url: password_path(resource_name), html: { method: :post }) do |f|
= render "devise/shared/error_messages", resource: resource
.mb-3
= f.label :email, class: 'form-label'
= f.email_field :email, autofocus: true, autocomplete: 'email', required: true, class: 'form-control'
.mb-3
= f.submit t('.send_me_reset_password_instructions'), class: 'btn btn-success'
%div= render "devise/shared/links"