li.d-flex id=dom_id(element, :page_nav_row) data={ "sortable-url": element_path(element), "form-name": "element", "position-attribute": "position" }
  - url = current_page ? "##{dom_id(element)}" : report_path(element.report, page_id: element.page.id, anchor: dom_id(element))
  i.bi.bi-boxes.me-2
  =< link_to(url, data: { "turbo": false }, class: "me-auto") do
    span id=dom_id(element, :page_nav_title)
      = "#{element.number} #{element.title}"
  i.bi.bi-grip-vertical.handle
