{% extends 'base.html' %}
{% block content %}

{% if user.is_authenticated %}
  <h1>Welcome {{ user }}</h1>
{% else %}
  <form action="" method="POST">
    {{ form.as_ul }}
    <input type="submit" />
  </form>
{% endif %}
{% endblock %}
