From ec940e88dfa11f56e9097615606d9f6ae2ee645f Mon Sep 17 00:00:00 2001 From: diondiondion Date: Thu, 19 Mar 2026 09:26:52 +0100 Subject: [PATCH] Add missing h1 headings to Reset Password & Resend Confirmation Link pages (#38285) --- app/views/auth/confirmations/new.html.haml | 1 + app/views/auth/passwords/new.html.haml | 1 + app/views/auth/sessions/new.html.haml | 5 ++++- 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/app/views/auth/confirmations/new.html.haml b/app/views/auth/confirmations/new.html.haml index eaa9d9add0..53c97d1dcb 100644 --- a/app/views/auth/confirmations/new.html.haml +++ b/app/views/auth/confirmations/new.html.haml @@ -18,6 +18,7 @@ %p.lead= t('auth.confirmations.awaiting_review', domain: site_hostname) - else = simple_form_for(resource, as: resource_name, url: confirmation_path(resource_name), html: { method: :post }) do |f| + %h1.title= t('auth.resend_confirmation', domain: site_hostname) = render 'shared/error_messages', object: resource .fields-group diff --git a/app/views/auth/passwords/new.html.haml b/app/views/auth/passwords/new.html.haml index 8d5adaf3b9..3c72dd23d0 100644 --- a/app/views/auth/passwords/new.html.haml +++ b/app/views/auth/passwords/new.html.haml @@ -2,6 +2,7 @@ = t('auth.reset_password') = simple_form_for(resource, as: resource_name, url: password_path(resource_name), html: { method: :post }) do |f| + %h1.title= t('auth.reset_password', domain: site_hostname) = render 'shared/error_messages', object: resource .fields-group diff --git a/app/views/auth/sessions/new.html.haml b/app/views/auth/sessions/new.html.haml index bdb026f79c..944bc6e650 100644 --- a/app/views/auth/sessions/new.html.haml +++ b/app/views/auth/sessions/new.html.haml @@ -38,7 +38,10 @@ - if devise_mapping.omniauthable? && resource_class.omniauth_providers.any? .simple_form.alternative-login - %h2= omniauth_only? ? t('auth.log_in_with') : t('auth.or_log_in_with') + - if omniauth_only? + %h1= t('auth.log_in_with') + - else + %h2= t('auth.or_log_in_with') .actions - resource_class.omniauth_providers.each do |provider|