fix(form): multipart option must be set under "html" to ensure rendering as expected

This commit is contained in:
Colin Darie 2022-11-22 17:46:16 +01:00
parent 6ac0114992
commit e3ddb7779f
6 changed files with 6 additions and 9 deletions

View file

@ -9,8 +9,7 @@
.procedure-form__columns.container
= form_for @attestation_template,
url: admin_procedure_attestation_template_path(@procedure),
multipart: true,
html: { class: 'form procedure-form__column--form' } do |f|
html: { multipart: true, class: 'form procedure-form__column--form' } do |f|
%h1.page-title
Délivrance dattestation