{% load list_tags %} {% comment %} Sortable table column header — renders a `` with a link that toggles the `?sort=` querystring param for the given key. Pair with views that use `apps.core.lists.SortableListMixin`. Args: key (str) — the param value (must match a sortable_fields key) label (str) — visible header text align (str|None) — "right" for numeric columns; default left numeric (bool) — adds tabular-nums hint to the th class th_class (str|None) — extra classes appended to the `` element Requires `request.resolver_match.kwargs` available; `request` in context. {% endcomment %} {{ label }}