Merge pull request #8799 from tchak/fix-collapsible_explanation

fix(dossier): champ explication collapsible explanation should be formatted
This commit is contained in:
Colin Darie 2023-03-27 11:27:39 +00:00 committed by GitHub
commit 5dd6456e4a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -7,4 +7,4 @@
%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
%p.fr-collapse{ id: dom_id(@champ, :explanation) }
= @champ.collapsible_explanation_text
= render SimpleFormatComponent.new(@champ.collapsible_explanation_text, allow_a: true)