{# In-app help (#571) — a `?` control that opens a Tabler offcanvas with hand-authored help content. Self-contained: a small nonce'd vanilla-JS controller drives open/close so this partial works on every page (dashboard, login, 404) regardless of whether Alpine is loaded. Not a modal, not a /help route, not a rendered README slice (decision on #571 — avoids drift). Parameters (all optional): - `help_part` — "all" (default) renders the `?` trigger AND the panel+script. "trigger" renders only the `?` button (use inside a `.navbar-expand-*`, whose responsive CSS would otherwise flatten a descendant `.offcanvas` to static). "panel" renders only the offcanvas panel + controller (place it OUTSIDE any navbar, e.g. near end-of-body). - `help_trigger_fixed` — when true the `?` trigger is fixed top-right (login / 404, which have no navbar to host it). Ignored for the "panel" part. #} {% set help_part = help_part | default("all") %} {% if help_part in ("all", "trigger") %} {% endif %} {% if help_part in ("all", "panel") %} {# Backdrop + offcanvas. Hidden by default (`hidden` on both); the controller toggles the Tabler `.show` class + drops `hidden` on open. The panel must NOT live inside a `.navbar-expand-*` — that responsive CSS flattens a descendant `.offcanvas` to a static inline block at the breakpoint, killing the overlay. #} {% endif %}