{% extends tinyuser_templates.base_template %} {% load i18n widget_tweaks allauth account %} {% block content %}

Please sign in

{% if not SOCIALACCOUNT_ONLY %}
{% csrf_token %} {% if form.errors %}
{% for field in form %} {% for error in field.errors %} {{ field.label }}: {{ error }}
{% endfor %} {% endfor %} {% for error in form.non_field_errors %} {{ error }}
{% endfor %}
{% endif %}
{% render_field form.login class="form-input" %} {% render_field form.password class="form-input" %}

{% translate "Forgot password?" %}

{% endif %} {% if LOGIN_BY_CODE_ENABLED or PASSKEY_LOGIN_ENABLED %} {% element button_group vertical=True %} {% if PASSKEY_LOGIN_ENABLED %} {% element button type="submit" form="mfa_login" id="passkey_login" tags="prominent,login,outline,primary" %} {% trans "Sign in with a passkey" %} {% endelement %} {% endif %} {% if LOGIN_BY_CODE_ENABLED %} {% element button href=request_login_code_url tags="prominent,login,outline,primary" %} {% trans "Send me a sign-in code" %} {% endelement %} {% endif %} {% endelement %} {% endif %} {% if SOCIALACCOUNT_ENABLED %} {% include "socialaccount/snippets/login.html" %} {% endif %} {% endblock content %}