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