Merge pull request #10414 from demarches-simplifiees/fix-contact-callout

Page de contact - suppression des paragraphes vides
This commit is contained in:
mfo 2024-05-24 08:26:14 +00:00 committed by GitHub
commit c2c4c46c95
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -35,8 +35,7 @@
- if link.present? - if link.present?
.fr-ml-3w.hidden{ id: "card-#{question_type}", "aria-hidden": true , data: { "support-target": "content" } } .fr-ml-3w.hidden{ id: "card-#{question_type}", "aria-hidden": true , data: { "support-target": "content" } }
= render Dsfr::CalloutComponent.new(title: t('.our_answer')) do |c| = render Dsfr::CalloutComponent.new(title: t('.our_answer')) do |c|
- c.with_body do - c.with_html_body do
%p
-# i18n-tasks-use t("support.index.#{question_type}.answer_html") -# i18n-tasks-use t("support.index.#{question_type}.answer_html")
= t('answer_html', scope: [:support, :index, question_type], base_url: Current.application_base_url, "link_#{question_type}": link) = t('answer_html', scope: [:support, :index, question_type], base_url: Current.application_base_url, "link_#{question_type}": link)