{% load wise_icons i18n %} {% comment %} Switches a list page between a card-grid and a data-table rendering of the exact same queryset, via a `?view=` query param - see the Patterns section of the docs (Card list vs. Data table) and the Categories/Products demo pages for the two call sites. The including template decides `view_mode` (e.g. `{% with view_mode=request.GET.view|default:"table" %}`) and branches its own `list_body` block on it; this component only renders the two buttons that link between the states. {% endcomment %}
{% lucide "layout-dashboard" size=16 %} {% lucide "menu" size=16 %}