fix(dossier): champ explication collapsible explanation should be formatted

This commit is contained in:
Paul Chavard 2023-03-22 14:59:30 +01:00
parent 7c58071c10
commit f8b01811c1

View file

@ -7,4 +7,4 @@
%p.fr-my-2w %p.fr-my-2w
%button{ type: "button", "aria-controls": dom_id(@champ, :explanation), "aria-expanded": "false", href: dom_id(@champ, :explanation), class: "fr-btn ft-btn--sm fr-btn--secondary" } Lire plus %button{ type: "button", "aria-controls": dom_id(@champ, :explanation), "aria-expanded": "false", href: dom_id(@champ, :explanation), class: "fr-btn ft-btn--sm fr-btn--secondary" } Lire plus
%p.fr-collapse{ id: dom_id(@champ, :explanation) } %p.fr-collapse{ id: dom_id(@champ, :explanation) }
= @champ.collapsible_explanation_text = render SimpleFormatComponent.new(@champ.collapsible_explanation_text, allow_a: true)