2019-09-18 16:37:27 +02:00
|
|
|
- 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
|
2024-01-09 17:03:16 +01:00
|
|
|
= f.input :current_password,
|
|
|
|
input_html: { autocomplete: 'current-password', autofocus: true },
|
|
|
|
label: t('challenge.prompt'),
|
|
|
|
required: true,
|
|
|
|
wrapper: :with_block_label
|
2019-09-18 16:37:27 +02:00
|
|
|
|
|
|
|
.actions
|
|
|
|
= f.button :button, t('challenge.confirm'), type: :submit
|
|
|
|
|
|
|
|
%p.hint.subtle-hint= t('challenge.hint_html')
|
|
|
|
|
|
|
|
.form-footer= render 'auth/shared/links'
|