correctif(attachement_edit): ajoute le cmmposant <form> pour supprimer un attachment via le nouveau <button>

This commit is contained in:
Martin 2023-02-21 15:49:13 +01:00 committed by mfo
parent 99b1bc718b
commit f6fb1ceca5
10 changed files with 17 additions and 7 deletions

View file

@ -7,6 +7,7 @@
.procedure-form#attestation-template-edit
.procedure-form__columns.container
= render Attachment::DeleteFormComponent.new
= form_for @attestation_template,
url: admin_procedure_attestation_template_path(@procedure),
html: { multipart: true, class: 'form form-ds-fr-white procedure-form__column--form' } do |f|