{% extends "base.html" %} {% block content %} {% if event %} Register for workshop {{event.title}} to be conducted at {{event.venue}}<br /> {% endif %} <form action="" method="post"> {{ form.as_p }} <input type="submit" value="submit"> </form> {% endblock %}