feat(a11y): avoid wrong heading level
This commit is contained in:
parent
795f6ab29b
commit
ecbe51f928
1 changed files with 2 additions and 2 deletions
|
@ -22,9 +22,9 @@
|
|||
|
||||
- if defined?(metadatas)
|
||||
.metadatas.pb-3
|
||||
%h1= t('created_at', number: @procedure.id, date: @procedure.created_at.strftime('%d/%m/%Y'), scope: [:layouts, :breadcrumb])
|
||||
%p.fr-h1.fr-mb-0= t('created_at', scope: [:layouts, :breadcrumb], number: @procedure.id, date: @procedure.created_at.strftime('%d/%m/%Y'))
|
||||
- if @procedure.close?
|
||||
%h2= t('closed_at', date: @procedure.closed_at.strftime('%d/%m/%Y'), scope: [:layouts, :breadcrumb])
|
||||
%p.fr-h2= t('closed_at', scope: [:layouts, :breadcrumb], date: @procedure.closed_at.strftime('%d/%m/%Y'))
|
||||
%p
|
||||
- if @procedure.locked?
|
||||
= t('published', scope: [:layouts, :breadcrumb])
|
||||
|
|
Loading…
Reference in a new issue