{% load i18n %} {% load bootstrap3 %} {% load static %} {{ INTERFACE.login_title }} {% include '_head_css_js.html' %}
screen-image
{{ INTERFACE.login_title }}
{% csrf_token %}
{% if form.non_field_errors %}

{{ form.non_field_errors.as_text }}

{% else %}

{% trans 'Welcome back, please enter username and password to login' %}

{% 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' %}