{% for label, status in options.items %} {% if status %} {% else %} {% endif %} {% endfor %}