From c05cc4a42db7487f8c679bbf2624c58d81f5d862 Mon Sep 17 00:00:00 2001 From: Colin Darie Date: Tue, 28 Feb 2023 17:49:39 +0100 Subject: [PATCH] fix(annotations-privees): auto counter was not properly enabled --- app/views/shared/dossiers/_edit_annotations.html.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/shared/dossiers/_edit_annotations.html.haml b/app/views/shared/dossiers/_edit_annotations.html.haml index 86f39f735..654644e0c 100644 --- a/app/views/shared/dossiers/_edit_annotations.html.haml +++ b/app/views/shared/dossiers/_edit_annotations.html.haml @@ -1,6 +1,6 @@ .container.dossier-edit - if dossier.champs_private.present? - %section + %section.counter-start-header-section = render Attachment::DeleteFormComponent.new = form_for dossier, url: annotations_instructeur_dossier_path(dossier.procedure, dossier), html: { class: 'form', multipart: true } do |f| - dossier.champs_private.each do |champ|