{% load static %} {% if mode %} {% if allow_responses %}
Submit your review
{% csrf_token %} {% include "wagtail_review/response_form_fields.html" %}
{% elif allow_annotations %} {# provide an empty respond form so that we can pull the CSRF token from it #}
{% csrf_token %}
{% elif show_closed %}
This review is now closed
{% endif %} {% endif %}