From 4e1552a9ebdf0c390b3591b0e55fb8cf0085c87f Mon Sep 17 00:00:00 2001 From: Christophe Robillard Date: Thu, 21 Mar 2024 11:39:16 +0100 Subject: [PATCH] add sample messagerie in preview --- app/views/instructeurs/export_templates/_form.html.haml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/app/views/instructeurs/export_templates/_form.html.haml b/app/views/instructeurs/export_templates/_form.html.haml index 9f76d9aee..7ac7704c6 100644 --- a/app/views/instructeurs/export_templates/_form.html.haml +++ b/app/views/instructeurs/export_templates/_form.html.haml @@ -71,4 +71,9 @@ %ul %li#preview_pdf_name= @export_template.tiptap_convert(sample_dossier, "pdf_name") - @procedure.pieces_jointes_exportables_list.each do |pj| - %li{id: "preview_pj_#{pj.stable_id}"}= @export_template.tiptap_convert_pj(sample_dossier, pj.stable_id) + %li{ id: "preview_pj_#{pj.stable_id}" }= @export_template.tiptap_convert_pj(sample_dossier, pj.stable_id) + %ul + %li + %span messagerie + %ul + %li un-autre-fichier