{% extends 'base.html' %} {% block title %}Home{% endblock %} {% block content %} {% if user.is_authenticated %} You are logged in as {{ user.username }}

Log Out

New Survey

{% else %}

You are not logged in

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