gitlab-org--gitlab-foss/app/views/devise/passwords/new.html.haml
Dmitriy Zaporozhets d28a27f7c4
Cleaner UI for login/signup pages
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2014-08-15 17:52:20 +03:00

13 lines
509 B
Text
Executable file

.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
.clearfix.append-bottom-10
= f.submit "Reset password", class: "btn-primary btn"
.login-footer
= render 'devise/shared/sign_in_link'