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

16 lines
619 B

  1. - content_for :page_title do
  2. = t('settings.delete')
  3. = simple_form_for @confirmation, url: settings_delete_path, method: :delete do |f|
  4. .warning
  5. %strong
  6. = fa_icon('warning')
  7. = t('deletes.warning_title')
  8. = t('deletes.warning_html')
  9. %p.hint= t('deletes.description_html')
  10. = f.input :password, placeholder: t('simple_form.labels.defaults.current_password'), input_html: { 'aria-label' => t('simple_form.labels.defaults.current_password'), :autocomplete => 'off' }, hint: t('deletes.confirm_password')
  11. .actions
  12. = f.button :button, t('deletes.proceed'), type: :submit, class: 'negative'