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,10 +35,9 @@
- if link.present?
.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|
- c.with_body do
%p
-# 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)
- c.with_html_body do
-# 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)
.fr-input-group
= label_tag :dossier_id, t('file_number', scope: [:utils]), class: 'fr-label'