2023-05-16 14:27:35 -07:00
|
|
|
- content_for :page_title do
|
|
|
|
= t('auth.captcha_confirmation.title')
|
|
|
|
|
2024-06-14 02:49:10 -07:00
|
|
|
= form_with url: auth_captcha_confirmation_url, class: :simple_form do |form|
|
2023-05-16 14:27:35 -07:00
|
|
|
= render 'auth/shared/progress', stage: 'confirm'
|
|
|
|
|
2024-06-14 02:49:10 -07:00
|
|
|
= form.hidden_field :confirmation_token,
|
|
|
|
value: params[:confirmation_token]
|
|
|
|
= form.hidden_field :redirect_to_app,
|
|
|
|
value: params[:redirect_to_app]
|
2023-05-16 14:27:35 -07:00
|
|
|
|
2023-06-13 13:30:40 -07:00
|
|
|
%h1.title= t('auth.captcha_confirmation.title')
|
2023-05-16 14:27:35 -07:00
|
|
|
%p.lead= t('auth.captcha_confirmation.hint_html')
|
|
|
|
|
2023-06-13 13:30:40 -07:00
|
|
|
= render_captcha
|
|
|
|
|
|
|
|
%p.lead= t('auth.captcha_confirmation.help_html', email: mail_to(Setting.site_contact_email, nil))
|
2023-05-16 14:27:35 -07:00
|
|
|
|
|
|
|
.actions
|
2024-06-14 02:49:10 -07:00
|
|
|
= form.button t('challenge.confirm'),
|
|
|
|
class: 'button',
|
|
|
|
type: :submit
|