new.html.haml 553 B

12345678910111213
  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'