{# Login page, ported from shadcn/ui's login-04 block. The one page that does not extend base.html, and the reason a bare layout exists: base.html wraps a nav built from what the current principal may see, and here there is no principal yet. It still includes admin/theme.html, so signing in does not flash a light page at someone who chose dark. Deliberately absent from the port: the social buttons, "Sign up" and "Forgot your password?" -- the framework has no route behind any of them. #} {% from "admin/components/csrf-field.html" import csrf_field %} {% from "admin/components/ui/locale-switcher.html" import locale_switcher_menu %}
{# No hx-* on this page, so the token travels as a hidden field only -- but the meta tag stays for consistency with base.html. #}