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

18 lines
625 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('.resend_unlock_instructions')
= form_for(resource, as: resource_name, url: unlock_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('.resend_unlock_instructions'), class: 'btn btn-success'
= render 'devise/shared/links'