闭社主体 forked from https://github.com/tootsuite/mastodon
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12 lines
522 B

  1. - content_for :page_title do
  2. = t('auth.reset_password')
  3. = simple_form_for(resource, as: resource_name, url: password_path(resource_name), html: { method: :post }) do |f|
  4. = render 'shared/error_messages', object: resource
  5. = f.input :email, autofocus: true, required: true, placeholder: t('simple_form.labels.defaults.email'), input_html: { 'aria-label' => t('simple_form.labels.defaults.email') }
  6. .actions
  7. = f.button :button, t('auth.reset_password'), type: :submit
  8. .form-footer= render "auth/shared/links"