= turbo_stream.remove dom_id(@element)
= turbo_stream.remove dom_id(@element, :page_nav_row)
- @element.page.elements.reject { _1 == @element }.each do |e|
  = turbo_stream.update dom_id(e, :title), "#{e.page.position}.#{e.position} #{e.title}"
  = turbo_stream.replace dom_id(e, :page_nav_row), partial: "elements/page_nav_row", locals: { element: e, current_page: true }


= turbo_stream_toast("Element wurde gelöscht", true)
