From fa1bc0b88bd25f147d3a17ee50be977173334e09 Mon Sep 17 00:00:00 2001 From: Paul Chavard Date: Thu, 5 May 2022 12:42:58 +0200 Subject: [PATCH] =?UTF-8?q?fix(dossier):=20annotations=20priv=C3=A9es=20fo?= =?UTF-8?q?rm?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/views/instructeurs/dossiers/annotations_privees.html.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/instructeurs/dossiers/annotations_privees.html.haml b/app/views/instructeurs/dossiers/annotations_privees.html.haml index bfa9e05a7..4341a0c98 100644 --- a/app/views/instructeurs/dossiers/annotations_privees.html.haml +++ b/app/views/instructeurs/dossiers/annotations_privees.html.haml @@ -5,7 +5,7 @@ #dossier-annotations-privees.container - if @dossier.champs_private.present? %section - = form_for @dossier, url: annotations_instructeur_dossier_path(@dossier.procedure, @dossier), html: { class: 'form' } 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| = fields_for champ.input_name, champ do |form| = render partial: "shared/dossiers/editable_champs/editable_champ", locals: { form: form, champ: champ, seen_at: @annotations_privees_seen_at }