hometown/app/views/auth/passwords/new.html.haml
2016-10-18 16:37:15 +02:00

13 lines
408 B
Plaintext

- content_for :page_title do
Reset password
= simple_form_for(resource, as: resource_name, url: password_path(resource_name), html: { method: :post }) do |f|
= render 'shared/error_messages', object: resource
= f.input :email, autofocus: true, required: true, placeholder: 'E-mail address'
.actions
= f.button :button, "Reset password", type: :submit
.form-footer= render "auth/shared/links"