Welcome to mirror list, hosted at ThFree Co, Russian Federation.

new.html.haml « passwords « devise « views « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 536d4c9fd4b4810879bb41bdec55d78b569a47f6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
.login-box
  .login-body
    = gitlab_ui_form_for(resource, as: resource_name, url: password_path(resource_name), html: { method: :post, class: 'gl-p-5 gl-show-field-errors', aria: { live: 'assertive' }}) do |f|
      .devise-errors
        = render "devise/shared/error_messages", resource: resource
      .form-group
        = f.label :email, _('Email')
        = f.email_field :email, class: "form-control gl-form-input", required: true, autocomplete: 'off', value: params[:user_email], autofocus: true, title: _('Please provide a valid email address.')
        .form-text.text-muted
          = _('Requires your primary or verified secondary GitLab email address.')

      - if recaptcha_enabled?
        .gl-mb-5
          = recaptcha_tags nonce: content_security_policy_nonce

      = render Pajamas::ButtonComponent.new(type: :submit, variant: :confirm, block: true) do
        = _('Reset password')

= render 'devise/shared/sign_in_link'