diff options
Diffstat (limited to 'app/views/devise/confirmations/new.html.haml')
-rw-r--r-- | app/views/devise/confirmations/new.html.haml | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/app/views/devise/confirmations/new.html.haml b/app/views/devise/confirmations/new.html.haml index d3bd1d58d21..5af247703f6 100644 --- a/app/views/devise/confirmations/new.html.haml +++ b/app/views/devise/confirmations/new.html.haml @@ -1,19 +1,22 @@ = render 'devise/shared/tab_single', tab_title: 'Resend confirmation instructions' .login-box.gl-p-5 .login-body - = form_for(resource, as: resource_name, url: confirmation_path(resource_name), html: { method: :post, class: 'gl-show-field-errors' }) do |f| + = 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 - = f.submit _("Resend"), class: 'gl-button btn btn-confirm' + = render Pajamas::ButtonComponent.new(block: true, type: :submit, variant: :confirm) do + = _("Resend") .clearfix.prepend-top-20 = render 'devise/shared/sign_in_link' |