debian-mirror-gitlab/app/views/devise/confirmations/new.html.haml
2023-06-20 00:43:36 +05:30

22 lines
975 B
Text

= render 'devise/shared/tab_single', tab_title: 'Resend confirmation instructions'
.login-box.gl-p-5
.login-body
= gitlab_ui_form_for(resource, as: resource_name, url: confirmation_path(resource_name), html: { method: :post, class: 'gl-show-field-errors' }) do |f|
.devise-errors
= render "devise/shared/error_messages", resource: resource
.form-group
= f.label :email
= f.email_field :email, class: "form-control gl-form-input", required: true, autocomplete: 'off', title: _('Please provide a valid email address.'), value: nil
.form-text.gl-text-secondary
= _('Requires your primary GitLab email address.')
%div
- if recaptcha_enabled?
= recaptcha_tags nonce: content_security_policy_nonce
.gl-mt-5
= render Pajamas::ButtonComponent.new(block: true, type: :submit, variant: :confirm) do
= _("Resend")
.clearfix.prepend-top-20
= render 'devise/shared/sign_in_link'