new.html.haml 522 B

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