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.

14 lines
805 B

  1. - content_for :page_title do
  2. = t('auth.set_new_password')
  3. = simple_form_for(resource, as: resource_name, url: password_path(resource_name), html: { method: :put }) do |f|
  4. = render 'shared/error_messages', object: resource
  5. = f.input :reset_password_token, as: :hidden
  6. = f.input :password, autofocus: true, autocomplete: 'off', placeholder: t('simple_form.labels.defaults.new_password'), input_html: { 'aria-label' => t('simple_form.labels.defaults.new_password') }
  7. = f.input :password_confirmation, autocomplete: 'off', placeholder: t('simple_form.labels.defaults.confirm_new_password'), input_html: { 'aria-label' => t('simple_form.labels.defaults.confirm_new_password') }
  8. .actions
  9. = f.button :button, t('auth.set_new_password'), type: :submit
  10. .form-footer= render 'auth/shared/links'