2022-05-06 19:52:55 +02:00
|
|
|
= fields_for @champ.input_name, @champ do |form|
|
2022-09-08 11:25:39 +02:00
|
|
|
= turbo_stream.morph @champ.input_group_id do
|
|
|
|
= render EditableChamp::EditableChampComponent.new champ: @champ, form: form
|
2022-05-06 19:52:55 +02:00
|
|
|
|
2022-10-25 14:14:24 +02:00
|
|
|
- @champ.piece_justificative_file.attachments.each do |attachment|
|
2022-05-06 19:52:55 +02:00
|
|
|
= turbo_stream.focus_all "button[data-toggle-target=\".attachment-input-#{attachment.id}\"]"
|