2019-09-11 19:29:05 +00:00
|
|
|
= content_for :body do
|
|
|
|
- 'black-bg'
|
|
|
|
|
2023-03-28 22:18:11 +00:00
|
|
|
= render 'devise/shared/error_messages', resource: resource
|
|
|
|
|
2019-07-04 00:11:33 +00:00
|
|
|
.row.align-items-center.justify-content-center.full-height
|
2023-04-20 21:23:58 +00:00
|
|
|
.col-12.col-lg-5.align-self-center
|
2019-09-11 19:29:05 +00:00
|
|
|
.sr-only
|
|
|
|
%h2= t('.resend_confirmation_instructions')
|
|
|
|
|
|
|
|
= form_for(resource,
|
|
|
|
as: resource_name,
|
|
|
|
url: confirmation_path(resource_name),
|
|
|
|
html: { method: :post }) do |f|
|
|
|
|
|
|
|
|
:ruby
|
|
|
|
value = if resource.pending_reconfirmation?
|
|
|
|
resource.unconfirmed_email
|
|
|
|
else
|
|
|
|
resource.email
|
|
|
|
end
|
|
|
|
|
2019-07-04 00:11:33 +00:00
|
|
|
.form-group
|
2019-09-11 19:29:05 +00:00
|
|
|
= f.label :email, class: 'sr-only'
|
2019-07-04 00:11:33 +00:00
|
|
|
= f.email_field :email,
|
|
|
|
autofocus: true,
|
|
|
|
autocomplete: 'email',
|
|
|
|
class: 'form-control',
|
2019-09-11 19:29:05 +00:00
|
|
|
value: value,
|
|
|
|
placeholder: t('activerecord.attributes.usuarie.email')
|
2019-07-04 00:11:33 +00:00
|
|
|
.actions
|
|
|
|
= f.submit t('.resend_confirmation_instructions'),
|
2019-09-11 19:29:05 +00:00
|
|
|
class: 'btn btn-lg btn-block'
|
2019-07-04 00:11:33 +00:00
|
|
|
= render 'devise/shared/links'
|