Add missing h1 headings to Reset Password & Resend Confirmation Link pages (#38285)

This commit is contained in:
diondiondion 2026-03-19 09:26:52 +01:00 committed by GitHub
parent d9dbe62417
commit ec940e88df
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 6 additions and 1 deletions

View File

@ -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

View File

@ -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

View File

@ -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|