diff --git a/app/components/editable_champ/explication_component/explication_component.html.haml b/app/components/editable_champ/explication_component/explication_component.html.haml index 7e4822b3c..2914ce7c1 100644 --- a/app/components/editable_champ/explication_component/explication_component.html.haml +++ b/app/components/editable_champ/explication_component/explication_component.html.haml @@ -4,8 +4,7 @@ = string_to_html(@champ.description, allow_a: true) - if @champ.collapsible_explanation_enabled? && @champ.collapsible_explanation_text.present? - %div - %p.fr-my-2w - %button{ type: "button", "aria-controls": dom_id(@champ, :explanation), "aria-expanded": "false", href: dom_id(@champ, :explanation) } Lire plus - %p.fr-collapse{ id: dom_id(@champ, :explanation) } - = @champ.collapsible_explanation_text + %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