This repository has been archived on 2019-05-14. You can view files and clone it, but cannot push or open issues or pull requests.
mastodon/app/views/auth/passwords/new.html.haml
2016-11-03 19:19:39 +01:00

13 lines
458 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', input_html: { 'aria-label' => 'E-mail address' }
.actions
= f.button :button, "Reset password", type: :submit
.form-footer= render "auth/shared/links"