debian-mirror-gitlab/app/views/devise/passwords/new.html.haml

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

21 lines
936 B
Text
Raw Normal View History

2015-04-26 12:48:37 +05:30
.login-box
.login-body
2017-08-17 22:00:37 +05:30
= form_for(resource, as: resource_name, url: password_path(resource_name), html: { method: :post, class: 'gl-show-field-errors' }) do |f|
2014-09-02 18:07:02 +05:30
.devise-errors
2019-09-04 21:01:54 +05:30
= render "devise/shared/error_messages", resource: resource
2022-07-16 23:28:13 +05:30
.form-group.gl-px-5.gl-pt-5
2022-08-27 11:52:29 +05:30
= f.label :email, class: ("gl-mb-1" if Feature.enabled?(:restyle_login_page))
2022-02-05 19:09:49 +05:30
= 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.')
2021-09-04 01:27:46 +05:30
.form-text.text-muted
= _('Requires your primary GitLab email address.')
2021-12-11 22:18:48 +05:30
- if recaptcha_enabled?
2022-07-16 23:28:13 +05:30
.gl-px-5
= recaptcha_tags nonce: content_security_policy_nonce
2021-12-11 22:18:48 +05:30
2022-07-16 23:28:13 +05:30
.gl-p-5
2021-04-29 21:17:54 +05:30
= f.submit _("Reset password"), class: "gl-button btn-confirm btn"
2015-04-26 12:48:37 +05:30
.clearfix.prepend-top-20
= render 'devise/shared/sign_in_link'