2019-09-19 00:37:27 +10: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
|
2022-11-08 13:53:06 +11:00
|
|
|
= f.input :current_password, wrapper: :with_block_label, input_html: { :autocomplete => 'current-password', :autofocus => true }, label: t('challenge.prompt'), required: true
|
2019-09-19 00:37:27 +10:00
|
|
|
|
|
|
|
.actions
|
|
|
|
= f.button :button, t('challenge.confirm'), type: :submit
|
|
|
|
|
|
|
|
%p.hint.subtle-hint= t('challenge.hint_html')
|
|
|
|
|
|
|
|
.form-footer= render 'auth/shared/links'
|