{% extends "base.html" %} {% block content %} {% if submitted %} Your feedback has been successfully submitted. {% else %} <form action="" method="post"> {{ form.as_p }} <input type="submit" value="submit"> </form> {% endif %} {% endblock %}