Add missing h1 headings to Reset Password & Resend Confirmation Link pages (#38285)
This commit is contained in:
parent
d9dbe62417
commit
ec940e88df
@ -18,6 +18,7 @@
|
|||||||
%p.lead= t('auth.confirmations.awaiting_review', domain: site_hostname)
|
%p.lead= t('auth.confirmations.awaiting_review', domain: site_hostname)
|
||||||
- else
|
- else
|
||||||
= simple_form_for(resource, as: resource_name, url: confirmation_path(resource_name), html: { method: :post }) do |f|
|
= 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
|
= render 'shared/error_messages', object: resource
|
||||||
|
|
||||||
.fields-group
|
.fields-group
|
||||||
|
|||||||
@ -2,6 +2,7 @@
|
|||||||
= t('auth.reset_password')
|
= t('auth.reset_password')
|
||||||
|
|
||||||
= simple_form_for(resource, as: resource_name, url: password_path(resource_name), html: { method: :post }) do |f|
|
= 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
|
= render 'shared/error_messages', object: resource
|
||||||
|
|
||||||
.fields-group
|
.fields-group
|
||||||
|
|||||||
@ -38,7 +38,10 @@
|
|||||||
|
|
||||||
- if devise_mapping.omniauthable? && resource_class.omniauth_providers.any?
|
- if devise_mapping.omniauthable? && resource_class.omniauth_providers.any?
|
||||||
.simple_form.alternative-login
|
.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
|
.actions
|
||||||
- resource_class.omniauth_providers.each do |provider|
|
- resource_class.omniauth_providers.each do |provider|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user