{% extends "registration/base.html" %} {% load i18n %} {% load common %} {% block content %} {% block heading %}

{% block page_title %}{% trans "Login Required" %}{% endblock %}

{% endblock %}
{% block warning %}

{% trans "You are attempting to access a part of the site which is restricted." %}

{% endblock %}
{% csrf_token %} {% if form.non_field_errors %} {% endif %} {% for f in form %} {% field f %} {% endfor %}
{% block buttons %} {% trans "Reset Password" %} {% block registration %} {% url 'accounts:register' as register_url %} {% if register_url %} {% trans "Register" %} {% endif %} {% endblock %} {% endblock %}
{% endblock %}