{% extends "base_logged_out.html" %} {% load i18n %} {% block base_content %}

{% trans "Please login" %}

{% if form.errors %}

{% trans "Your username and password didn't match. Please try again." %}

{% endif %} {% include '../messages.html' with messages=messages %}
{% csrf_token %}
{{ form.username.label_tag }} {% if form.username.help_text %}
{{ form.username.help_text|safe }}
{% endif %} {{ form.username }} {{ form.username.errors }}
{{ form.password.label_tag }} {% if form.password.help_text %}
{{ form.password.help_text|safe }}
{% endif %} {{ form.password }} {{ form.password.errors }}
{% endblock %}