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

@ -6,12 +6,14 @@
.procedure-form
.procedure-form__columns.container
= render Attachment::DeleteFormComponent.new
= form_for @procedure,
url: url_for({ controller: 'administrateurs/procedures', action: :create, id: @procedure.id }),
html: { class: 'form procedure-form__column--form', multipart: true } do |f|
%h1.page-title Nouvelle démarche
= render partial: 'administrateurs/procedures/informations', locals: { f: f }
.procedure-form__actions.sticky--bottom