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
|
@ -19,7 +19,7 @@
|
|||
- if @avis.introduction_file.attached?
|
||||
= render Attachment::ShowComponent.new(attachment: @avis.introduction_file.attachment)
|
||||
|
||||
= render Attachment::DeleteFormComponent.new
|
||||
= render NestedForms::FormOwnerComponent.new
|
||||
= form_for @avis, url: expert_avis_path(@avis.procedure, @avis), html: { data: { controller: 'persisted-form', persisted_form_key_value: dom_id(@avis) }, multipart: true } do |f|
|
||||
|
||||
- if @avis.question_label.present?
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue