demarches-normaliennes/app/views/attachments/destroy.turbo_stream.haml

7 lines
200 B
Text
Raw Normal View History

= turbo_stream.remove dom_id(@attachment, :persisted_row)
- if @champ_id
= turbo_stream.show "attachment-multiple-empty-#{@champ_id}"
= turbo_stream.show_all ".attachment-input-#{@attachment.id}"