- @page.report.pages.each do |page|
  = turbo_stream.update dom_id(page, :title), "#{page.position} #{page.path}"
  - page.elements.each do |element|
    = turbo_stream.update dom_id(element, :title), "#{element.page.position}.#{element.position} #{element.title}"
    = turbo_stream.replace dom_id(element, :page_nav_row), partial: "elements/page_nav_row", locals: { element: element, current_page: element.page == @page}
    - element.success_criteria.each do |sc|
      = turbo_stream.update dom_id(sc, :position), "#{sc.page.position}.#{sc.element.position}.#{sc.position}"

= turbo_stream_toast("Pfad gespeichert", false)