fix(conditional): dynamic title counters using css

Closes #8086
This commit is contained in:
Colin Darie 2023-02-20 16:45:00 +01:00
parent 568c2f8f4e
commit 3de089d6c7
8 changed files with 47 additions and 14 deletions

View file

@ -1,2 +1,2 @@
%h2.header-section
= @champ.libelle_with_section_index
%h2.header-section{ class: @champ.dossier.auto_numbering_section_headers_for?(@champ) ? "header-section-counter" : nil }
= @champ.libelle