{# Partial copy of login_base.html from rest_framework with AWX change. #} {% extends 'rest_framework/api.html' %} {% load i18n static %} {% block breadcrumbs %} {% endblock %} {% block content %}
{% csrf_token %}
{% if form.username.errors %}

{{ form.username.errors|striptags }}

{% endif %}
{% if form.password.errors %}

{{ form.password.errors|striptags }}

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