{% extends settings.utils.LayoutSettings.base_template %} {% load wagtailcore_tags %} {% block content %}

{{ self.title }}

{{ self.intro|richtext }}
{% csrf_token %} {% if form.errors %}

There were some errors with your form. Please amend the fields highlighted below.

{% endif %} {% for field in form %}
{% if field.errors %}

{{ field.errors }}

{% endif %} {% if field.id_for_label %} {% include "includes/form_field.html" with field=field field_id=field.id_for_label %} {% else %} {% include "includes/form_field.html" with field=field field_id=field.auto_id %} {% endif %}
{% endfor %}
{% endblock %}