gitlab-org--gitlab-foss/app/views/devise/passwords/new.html.haml

15 lines
545 B
Text
Raw Normal View History

.login-box
.login-heading
%h3 Reset password
.login-body
= form_for(resource, as: resource_name, url: password_path(resource_name), html: { method: :post }) do |f|
.devise-errors
= devise_error_messages!
.clearfix.append-bottom-20
= f.email_field :email, placeholder: "Email", class: "form-control", required: true, value: params[:user_email], autofocus: true
2015-02-05 09:56:58 -05:00
.clearfix
= f.submit "Reset password", class: "btn-primary btn"
2015-02-05 09:56:58 -05:00
.clearfix.prepend-top-20
= render 'devise/shared/sign_in_link'