{% extends "base.html" %} {% block content %}
{% if user.is_authenticated %}

Sorry you are already logged in as {{ user.username }}. Do you want to logout?

{% else %}

Log-in

{% csrf_token %} {% include 'includes/_render_bootstrap4_form.html' with form=form %}
{# Assumes you setup the password_reset view in your URLconf #}

Lost password?

{% endif %}
{% endblock %}