fix(annotations-privees): auto counter was not properly enabled

This commit is contained in:
Colin Darie 2023-02-28 17:49:39 +01:00
parent f991e1f4b8
commit c05cc4a42d

View file

@ -1,6 +1,6 @@
.container.dossier-edit .container.dossier-edit
- if dossier.champs_private.present? - if dossier.champs_private.present?
%section %section.counter-start-header-section
= render Attachment::DeleteFormComponent.new = render Attachment::DeleteFormComponent.new
= form_for dossier, url: annotations_instructeur_dossier_path(dossier.procedure, dossier), html: { class: 'form', multipart: true } do |f| = form_for dossier, url: annotations_instructeur_dossier_path(dossier.procedure, dossier), html: { class: 'form', multipart: true } do |f|
- dossier.champs_private.each do |champ| - dossier.champs_private.each do |champ|