mirror of
https://github.com/glitch-soc/mastodon.git
synced 2024-11-26 18:14:15 -05:00
20 lines
584 B
Plaintext
20 lines
584 B
Plaintext
- content_for :page_title do
|
|
= t('challenge.prompt')
|
|
|
|
= simple_form_for @challenge, url: request.get? ? auth_challenge_path : '' do |f|
|
|
= f.input :return_to, as: :hidden
|
|
|
|
.field-group
|
|
= f.input :current_password,
|
|
input_html: { autocomplete: 'current-password', autofocus: true },
|
|
label: t('challenge.prompt'),
|
|
required: true,
|
|
wrapper: :with_block_label
|
|
|
|
.actions
|
|
= f.button :button, t('challenge.confirm'), type: :submit
|
|
|
|
%p.hint.subtle-hint= t('challenge.hint_html')
|
|
|
|
.form-footer= render 'auth/shared/links'
|