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

17 lines
745 B
Text
Raw Normal View History

2019-07-04 00:11:33 +00:00
.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'