{# The sign-in form both hosts use; the heading and the explanation above it are each page's own. Context from LoginFlow: `login_form`, `login_url`, `next_url`, `login_error`, `password_reset_url` (None: no "Forgot password?" link). -#} {% if login_error %}
{{ login_error }}
{% endif %} {# Signing in replaces the session, so the post leaves Turbo for a full-page navigation. #}
{% csrf_token %}
{{ login_form.render_field("username") }}
{{ login_form.render_field("password") }}
{{ login_form.render_field("remember_me") }} {% if password_reset_url %} {{ _("Forgot password?") }} {% endif %}