{% load wagtailcore_tags %} {% if form %}
{% csrf_token %}
{% endif %}