{% for choice in choices %} {% if choice.has_entries %}{% else %}{% endif %}{% if choice.active %}{% endif %}{{ choice.title }}{% if choice.active %}{% endif %}{% if choice.has_entries %}{% else %}{% endif %} {% endfor %}