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

15 lines
528 B
Text
Raw Normal View History

2015-04-26 12:48:37 +05:30
.login-box
.login-heading
%h3 Reset password
.login-body
2014-09-02 18:07:02 +05:30
= 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
2015-09-11 14:41:01 +05:30
= f.email_field :email, placeholder: "Email", class: "form-control", required: true, value: params[:user_email]
2015-04-26 12:48:37 +05:30
.clearfix
2014-09-02 18:07:02 +05:30
= f.submit "Reset password", class: "btn-primary btn"
2015-04-26 12:48:37 +05:30
.clearfix.prepend-top-20
= render 'devise/shared/sign_in_link'