chore(a11y): mutualise la gestion des <button> qui font des action POST/DESTROY dans un composant unique
This commit is contained in:
parent
d161a624c5
commit
035da4403f
19 changed files with 45 additions and 46 deletions
|
@ -8,7 +8,7 @@
|
|||
%p#avis-emails-description.avis-notice
|
||||
Entrez les adresses email des experts à qui vous souhaitez demander un avis
|
||||
|
||||
= render Attachment::DeleteFormComponent.new
|
||||
= render NestedForms::FormOwnerComponent.new
|
||||
= form_for avis, url: url, html: { multipart: true, data: { controller: 'persisted-form', persisted_form_key_value: dom_id(@dossier, :avis_by_instructeur) } } do |f|
|
||||
= hidden_field_tag 'avis[emails]', nil
|
||||
.fr-input-group
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue