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

Return to home

{% else %}

Return to home

{% endif %} {% endblock %}