{# Density tab — global preference (Compact / Comfortable / Tax-view). Promoted from per-page toggle in Phase 1 (audit H4, T1). The toggle itself stays in `_density_toggle.html`; this tab just hosts it plus a one-line explainer. profile_switcher_data() is a Jinja global callable; we use it to get the resolved ProfileSettings without requiring a per-route context var. page_key, selected_account, and account_id are set to app-wide defaults so the density write applies globally (no per-account filter). Guard: when no accounts exist the density toggle is not rendered (mirrors existing per-page toggle behaviour; test_base_topbar_omitted_when_no_accounts asserts hx-post="/preferences" must be absent in the no-accounts state). #}
Controls row height and number formatting on tables across the app. Tax-view adds LT/ST + Lockout + Disallowed columns by default.
Import a CSV file to set up your first account, then density preferences will appear here.
{% endif %}