{% load bootstrap %} {% if form.fields.invitations_officer.choices|length > 0 %}
{% csrf_token %}
{{ form|bootstrap_purely_inline }}
{% endif %}