1
0

new.html.haml 528 B

123456789101112131415
  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: 'current-password', 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'