From 2f2f74efd8c4c699f0bcc9a6054105af2e36d1a8 Mon Sep 17 00:00:00 2001 From: Claire Date: Thu, 25 May 2023 19:14:37 +0200 Subject: [PATCH] [Glitch] Update style of captcha confirmation page to match sign-up form (#2226) --- app/javascript/flavours/glitch/styles/forms.scss | 4 ++++ app/views/auth/confirmations/captcha.html.haml | 5 +++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/app/javascript/flavours/glitch/styles/forms.scss b/app/javascript/flavours/glitch/styles/forms.scss index dbc89a7039..6bb21c1899 100644 --- a/app/javascript/flavours/glitch/styles/forms.scss +++ b/app/javascript/flavours/glitch/styles/forms.scss @@ -137,6 +137,10 @@ code { line-height: 22px; color: $secondary-text-color; margin-bottom: 30px; + + a { + color: $highlight-text-color; + } } .rules-list { diff --git a/app/views/auth/confirmations/captcha.html.haml b/app/views/auth/confirmations/captcha.html.haml index 642f190623..1f577383eb 100644 --- a/app/views/auth/confirmations/captcha.html.haml +++ b/app/views/auth/confirmations/captcha.html.haml @@ -2,10 +2,11 @@ = 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] - .field-group - %p.hint= t('auth.captcha_confirmation.hint_html') + %p.lead= t('auth.captcha_confirmation.hint_html') .field-group = render_captcha