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

18 lines
710 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_confirmation_instructions')
= form_for(resource, as: resource_name, url: confirmation_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', value: (resource.pending_reconfirmation? ? resource.unconfirmed_email : resource.email), class: 'form-control', required: true
.mb-3
= f.submit t('.resend_confirmation_instructions')
%div= render 'devise/shared/links'