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

16 lines
727 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
2016-11-03 12:29:30 +05:30
.form-group
= f.label :email
2021-04-29 21:17:54 +05:30
= f.email_field :email, class: "form-control gl-form-input", required: true, 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.')
2015-04-26 12:48:37 +05:30
.clearfix
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'