debian-mirror-gitlab/app/views/devise/passwords/new.html.haml
2016-11-03 12:29:30 +05:30

14 lines
636 B
Text

= render 'devise/shared/tab_single', tab_title: 'Reset Password'
.login-box
.login-body
= form_for(resource, as: resource_name, url: password_path(resource_name), html: { method: :post, class: 'show-gl-field-errors' }) do |f|
.devise-errors
= devise_error_messages!
.form-group
= f.label :email
= f.email_field :email, class: "form-control", required: true, value: params[:user_email], autofocus: true, title: 'Please provide a valid email address.'
.clearfix
= f.submit "Reset password", class: "btn-primary btn"
.clearfix.prepend-top-20
= render 'devise/shared/sign_in_link'