{% extends 'registration/base_registration.html' %} {% load i18n %} {% block card_body %} {% block before_form %} {% endblock %}
{% csrf_token %} {% if user.is_authenticated %}
You are currently logged in as {{ user.username }}. You can log in as a different user or choose to return home.
{% endif %} {% include 'registration/form.html' %} {% block after_form %}
Forgot your password?
{% endblock %}
{% if user.is_authenticated %} {# The user is authenticated but trying to get to a privledged area. Add a return home link. #} {% translate 'Return Home' %} {% endif %}
{% endblock %} {% block javascript %} {% endblock %}