{% load i18n %} {% load bootstrap3 %} {% load static %} {{ INTERFACE.login_title }} {% include '_head_css_js.html' %} {% if error_origin %}
{% trans 'Configuration file has problems and cannot be logged in. Please contact the administrator or view latest docs' %}
{% trans 'If you are administrator, you can update the config resolve it, set' %}
DOMAINS={{ error_origin }}
{% endif %}
screen-image

{% trans 'Login' %}

{% csrf_token %}
{% if form.non_field_errors %}

{{ form.non_field_errors.as_text }}

{% endif %}
{% bootstrap_field form.username show_label=False %}
{% if form.password.errors %}

{{ form.password.errors.as_text }}

{% endif %}
{% if form.challenge %} {% bootstrap_field form.challenge show_label=False %} {% elif form.mfa_type %}
{% include '_mfa_login_field.html' %}
{% elif form.captcha %}
{% bootstrap_field form.captcha show_label=False %}
{% endif %}
{% include '_foot_js.html' %}