on affiche uniquement si JDMA activé

This commit is contained in:
Benoit Queyron 2024-06-07 12:32:55 +02:00
parent f106e558c0
commit 0f1c1302a9

View file

@ -22,9 +22,9 @@
= link_to t('views.users.dossiers.merci.acces_dossier'), dossier ? dossier_path(dossier) : "#dossier" , class: 'fr-btn fr-btn--xl fr-mt-5w'
= link_to t('views.users.dossiers.merci.submit_dossier'), commencer_url(procedure.path), class: 'fr-btn fr-btn--secondary fr-mt-3w fr-mb-2w'
- if procedure.monavis_embed
.monavis
%p.fr-mt-5w.fr-mb-1w
%strong= t('views.users.dossiers.merci.jdma_l1')
%p= t('views.users.dossiers.merci.jdma_l2')
!= procedure.monavis_embed.gsub('nd_source=button', 'nd_source=site')