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

{{ page.title }}

{% if page.intro %}

{{ page.intro|richtext }}

{% endif %} {% if page.body %} {{ page.body }} {% endif %}
{# You could render your form using a Django rendering shortcut such as `{{ form.as_p }}` but that will tend towards unsemantic code, and make it difficult to style. You can read more on Django form at: https://docs.djangoproject.com/en/3.2/topics/forms/#form-rendering-options #}
{% if form.subject.errors %}
    {% for error in form.subject.errors %}
  1. {{ error|escape }}
  2. {% endfor %}
{% endif %} {% for field in form %}
{{ field.label_tag() }}{% if field.field.required %}*{% endif %} {% if field.help_text %}

{{ field.help_text }}

{% endif %} {{ field }}
{% endfor %}
{% endblock content %}