{% extends "base.html" %} {% block content %} <form method="post"> {{ form.as_p }} <input type="submit" /> </form> {% if form.errors %} <p class="errornote">Please correct the errors below</p> {% endif %} {% endblock %}