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

{% block title %}{{ page.title }}{% endblock %}

{% csrf_token %} {% if form.errors or form.non_field_errors %}
There were some errors with your form. Please amend the fields highlighted below. {% if form.non_field_errors %} {% endif %}
{% endif %} {{ form.as_p }}
{% endblock %}