correctif(annotations-privee): ajout du delete form component pour supprimer une annotation privee
This commit is contained in:
parent
c4746099fa
commit
ff9bb8a3cc
1 changed files with 1 additions and 0 deletions
|
@ -1,6 +1,7 @@
|
||||||
.container.dossier-edit
|
.container.dossier-edit
|
||||||
- if dossier.champs_private.present?
|
- if dossier.champs_private.present?
|
||||||
%section
|
%section
|
||||||
|
= 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|
|
||||||
= fields_for champ.input_name, champ do |form|
|
= fields_for champ.input_name, champ do |form|
|
||||||
|
|
Loading…
Reference in a new issue