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

{{ page.title }}

{{ page.intro|richtext }}

{% comment %} 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/1.10/topics/forms/#form-rendering-options {% endcomment %}
{% csrf_token %} {% 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 %} {{ field }} {% if field.help_text %}

{{ field.help_text|safe }}

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