{% extends "admin/base_site.html" %} {% load i18n static ideler_mfa_tags %} {% block extrastyle %} {{ block.super }} {{ form.media }} {% endblock %} {% block bodyclass %}{{ block.super }} login{% endblock %} {% block usertools %}{% endblock %} {% block nav-global %}{% endblock %} {% block nav-sidebar %}{% endblock %} {% block content_title %}{% endblock %} {% block breadcrumbs %}{% endblock %} {% block content %} {% if qr_code %}

{% trans "Scan the QR-code with an authenticator app." %}

{% qr_code qr_info %}

{% trans "Enter the verification code you got after scanning the QR-code." %}

{% endif %} {% if form.errors and not form.non_field_errors %}

{% if form.errors.items|length == 1 %}{% translate "Please correct the error below." %}{% else %}{% translate "Please correct the errors below." %}{% endif %}

{% endif %} {% if form.non_field_errors %} {% for error in form.non_field_errors %}

{{ error }}

{% endfor %} {% endif %}
{% csrf_token %}
{{ form.method.errors }} {{ form.method.label_tag }} {{ form.method }}
{% endblock %}