闭社主体 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.

13 lines
553 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. .fields-group
  6. = f.input :email, autofocus: true, wrapper: :with_label, label: t('simple_form.labels.defaults.email'), input_html: { 'aria-label' => t('simple_form.labels.defaults.email') }, hint: false
  7. .actions
  8. = f.button :button, t('auth.reset_password'), type: :submit
  9. .form-footer= render 'auth/shared/links'