{% extends "base.html" %} {% load i18n%} {% block header_bar %} {% translate 'Inventory management' %} - {% translate 'Login' %} {% endblock %} {% block content %} {% if form.errors %}
{% blocktranslate %}Your username and password didn't match. Please try again.{% endblocktranslate %}
{% endif %} {% if next %} {% if user.is_authenticated %}{% blocktranslate %} Your account doesn't have access to this page. To proceed, please login with an account that has access. {% endblocktranslate %}
{% else %}{% blocktranslate %} Please login to see this page. {% endblocktranslate %}
{% endif %} {% endif %} {# Assumes you setup the password_reset view in your URLconf #} {% endblock %}