captcha.html.haml 649 B

123456789101112131415161718
  1. - content_for :page_title do
  2. = t('auth.captcha_confirmation.title')
  3. = form_tag auth_captcha_confirmation_url, method: 'POST', class: 'simple_form' do
  4. = render 'auth/shared/progress', stage: 'confirm'
  5. = hidden_field_tag :confirmation_token, params[:confirmation_token]
  6. = hidden_field_tag :redirect_to_app, params[:redirect_to_app]
  7. %h1.title= t('auth.captcha_confirmation.title')
  8. %p.lead= t('auth.captcha_confirmation.hint_html')
  9. = render_captcha
  10. %p.lead= t('auth.captcha_confirmation.help_html', email: mail_to(Setting.site_contact_email, nil))
  11. .actions
  12. = button_tag t('challenge.confirm'), class: 'button', type: :submit