~cytrogen/masto-fe

ref: 39110d1d0af5e3d9cf452ae47496a52797249fd0 masto-fe/app/views/auth/confirmations/captcha.html.haml -rw-r--r-- 649 bytes
39110d1d — Eugen Rochko Fix CAPTCHA page not following design pattern of sign-up flow (#25395) 2 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
- content_for :page_title do
  = t('auth.captcha_confirmation.title')

= form_tag auth_captcha_confirmation_url, method: 'POST', class: 'simple_form' do
  = render 'auth/shared/progress', stage: 'confirm'

  = hidden_field_tag :confirmation_token, params[:confirmation_token]
  = hidden_field_tag :redirect_to_app, params[:redirect_to_app]

  %h1.title= t('auth.captcha_confirmation.title')
  %p.lead= t('auth.captcha_confirmation.hint_html')

  = render_captcha

  %p.lead= t('auth.captcha_confirmation.help_html', email: mail_to(Setting.site_contact_email, nil))

  .actions
    = button_tag t('challenge.confirm'), class: 'button', type: :submit