{% extends "accounts/base.html" %} {% block title %}{% trans "Login" %}{% endblock %} {% block extra_head %} {{ block.super }} {% endblock %} {% block content %}

{% trans "Log In to the Site" %}

{% if user.is_authenticated %}

{% blocktrans %} You are already logged in as {{ user }}. {% endblocktrans %} {% trans "Logout?" %}

{% else %}
{% csrf_token %} {% if form.non_field_errors %} {% endif %} {% for f in form %} {% if f.is_hidden %} {{ f }} {% else %}
{{ f }} {% if f.errors %} {% for field_error in f.errors %} {{ field_error }} {% endfor %} {% endif %}
{% endif %} {% endfor %}

{% trans "Forgot your password?" %}

{% trans "Click here to reset your password." %}

{% if MODULE_USERS_SELFREGISTRATION %}

{% trans "Don't have an account?" %}

{% trans "Register Now" %}

{% endif %} {% endif %} {% endblock %}