correctif(attachement_edit): ajoute le cmmposant <form> pour supprimer un attachment via le nouveau <button>
This commit is contained in:
parent
99b1bc718b
commit
f6fb1ceca5
10 changed files with 17 additions and 7 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue