{% extends 'base.html' %} {% block title %}Home{% endblock %} {% block content %} {% if user.is_authenticated %}
{% csrf_token %} {{ form.as_p }}
{% else %}

You are not logged in

Log In {% endif %} {% endblock %}