From a842fefa7a24c33ce0d46a461038eadcfeb513f8 Mon Sep 17 00:00:00 2001 From: Colin Darie Date: Thu, 18 Jan 2024 13:12:09 +0100 Subject: [PATCH] feat(attestation): inform that conditional champs are not tags-available --- .../administrateurs/attestation_template_v2s/edit.html.haml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/views/administrateurs/attestation_template_v2s/edit.html.haml b/app/views/administrateurs/attestation_template_v2s/edit.html.haml index 799d4f92d..6341e23cc 100644 --- a/app/views/administrateurs/attestation_template_v2s/edit.html.haml +++ b/app/views/administrateurs/attestation_template_v2s/edit.html.haml @@ -86,6 +86,10 @@ %button.fr-tag.fr-tag--sm{ title: tag[:description], data: { action: 'click->tiptap#insertTag', tiptap_target: 'tag', tag_id: tag[:id], tag_label: tag[:libelle] } } = tag[:libelle] + = render Dsfr::AlertComponent.new(state: :info, title: "Balises sur le conditionnel", heading_level: 'h3', size: :sm) do |c| + - c.with_body do + Les balises pour les champs conditionnés ne sont pas disponibles. + .fr-fieldset__element.fr-mt-2w %h2.fr-h6 Pied de page