5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-12-01 11:36:22 +00:00
panel/app/views/devise/confirmations/new.haml
2019-07-03 21:11:33 -03:00

16 lines
745 B
Text

.row.align-items-center.justify-content-center.full-height
.col-md-6.align-self-center
%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
.form-group
= f.label :email
= f.email_field :email,
autofocus: true,
autocomplete: 'email',
class: 'form-control',
value: (resource.pending_reconfirmation? ? resource.unconfirmed_email : resource.email)
.actions
= f.submit t('.resend_confirmation_instructions'),
class: 'btn btn-lg btn-primary btn-block'
= render 'devise/shared/links'