{% extends "subsite.html" %}

{% block content %}

{% if not entered or not valid %}
  {% for form in forms %}
    {{ form.as_p }}
  {% endfor %}

  {{ csrf_token }}
  <input type="submit" value="Submit" />
  {% if entered %}
    <span class="error">Please fix the problems above.</span>
  {% endif %}
{% endif %}

{% endblock %}
