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