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

15 lines
521 B

  1. - content_for :page_title do
  2. = t('challenge.prompt')
  3. = simple_form_for @challenge, url: request.get? ? auth_challenge_path : '' do |f|
  4. = f.input :return_to, as: :hidden
  5. .field-group
  6. = f.input :current_password, wrapper: :with_block_label, input_html: { :autocomplete => 'off', :autofocus => true }, label: t('challenge.prompt'), required: true
  7. .actions
  8. = f.button :button, t('challenge.confirm'), type: :submit
  9. %p.hint.subtle-hint= t('challenge.hint_html')
  10. .form-footer= render 'auth/shared/links'