{# Shared pagination footer. Inputs (set by the includer with `{% set %}` BEFORE the include): pagination — dict with page, page_size, total_pages, total_rows, page_size_options page_base_url — URL path WITHOUT any query (e.g. "/positions") page_extra_qs — extra "&key=value..." string to preserve filters (must include leading "&"; e.g. "&view=closed&period=ytd") page_target — HTMX swap target id (e.g. "#positions-tab-content") page_swap — HTMX swap mode ("outerHTML" or "innerHTML") Renders nothing when there are no rows. #} {% if pagination is defined and pagination.total_rows > 0 %} {% endif %}