{% load crispy_forms_tags %} {% with single_submission=submissions|length %} {% if single_submission > 1 %}
{% endif %} {% for sub in submissions %} {% if single_submission > 1 %}
{% if preview %}
Availability : {{ sub.submission.get_availability_display }}
{% endif %}
{% endif %} {% crispy sub.form %} {% if single_submission > 1 %}
{% endif %} {% endfor %} {% if single_submission > 1 %}
{% endif %} {% endwith %}