Merge pull request #7252 from tchak/fix-form-multipart
fix(dossier): annotations privées form
This commit is contained in:
commit
72fad93c61
1 changed files with 1 additions and 1 deletions
|
@ -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 }
|
||||
|
|
Loading…
Reference in a new issue