{% import "hxadmin/_macros.html" as m with context %} Sign in ยท {{ admin.title }}
{% if admin.logo_url %} {% else %} {{ admin.title[:1]|upper }} {% endif %}

Sign in

to {{ admin.title }}

{% call m.card() %} {% if error %} {{ m.alert(error, "danger", class="mb-4") }} {% endif %} {% set control = 'mt-1 h-9 w-full rounded-md border bg-surface px-3 text-sm ' ~ ('border-danger' if error else 'border-input') %}
{{ m.button("Sign in", "primary", type="submit", class="w-full") }}
{% endcall %} {% if note %}

{{ note }}

{% endif %}