{% extends 'base.html' %} {% block title %}Login{% endblock %} {% block messages %} {{super()}} {%if form.errors %} {% endif %} {% endblock %} {% block page_body %}
{{ form.csrf_token }} {{form.username.label}}
{{ form.username }}

{{form.password.label}}
{{ form.password }}

{% if next %}{% endif %} {% endblock %}