{% extends "welcome_base.html" %} {% load crispy_forms_filters %} {% load i18n static %} {% load allauth account %} {% block head_title %} {% trans "Sign In" %} {% endblock head_title %} {% block content %}
{% trans 'home' %} {% trans 'home' %}

{% trans "Sign In" %}

{% if not SOCIALACCOUNT_ONLY %}
{% csrf_token %}
{% include 'partials/form_errors.html' %}
{% trans 'If you have not created an account yet, then please' %} {% trans 'Sign Up' %}
{% 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 "Mail me a sign-in code" %} {% endelement %} {% endif %} {% endelement %} {% endif %} {% if SOCIALACCOUNT_ENABLED %} {% include "socialaccount/snippets/login.html" with page_layout="entrance" %} {% endif %} {% endblock content %} {% block extra_body %} {{ block.super }} {% if PASSKEY_LOGIN_ENABLED %} {% include "mfa/webauthn/snippets/login_script.html" with button_id="passkey_login" %} {% endif %} {% endblock %}