2022-11-09 12:33:20 +01:00
|
|
|
= turbo_stream.remove dom_id(@attachment, :persisted_row)
|
|
|
|
|
2022-05-06 12:25:58 +02:00
|
|
|
= turbo_stream.show_all ".attachment-input-#{@attachment.id}"
|
2024-06-27 14:05:48 +02:00
|
|
|
|
|
|
|
- if @champ
|
|
|
|
= fields_for @champ.input_name, @champ do |form|
|
|
|
|
= turbo_stream.replace @champ.input_group_id do
|
|
|
|
= render EditableChamp::EditableChampComponent.new champ: @champ, form: form
|
2024-06-27 15:19:51 +02:00
|
|
|
= turbo_stream.focus_all "#attachment-multiple-empty-#{@champ.public_id} input"
|