{% load i18n %}
{% csrf_token %} {% if form.non_field_errors %}
{% for error in form.non_field_errors %}

{{ error }}

{% endfor %}
{% endif %}
{% if form.username.errors %}

{{ form.username.errors.0 }}

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

{{ form.password.errors.0 }}

{% endif %}

Don't have an account? Sign up

Forgot your password?