{% for tab in switch.get_tabinfos() %} {% set tab_loop = loop %} {% if loop.first %} {% else %} {% endif%}

{% for item in tab.zipped_choices %} {% set item_loop = loop %} {% if item[2] %} {% else %} {% endif %} {% endfor %}
[x] title text action
{{ item[0] }} {% for chance in item[1] %} {% if loop.first %}
{{ chance }}
{% else %} {% endif %} {% endfor %}
{% if item[1] != None and item[1] != [] and item[0] != '' %} {% endif %}
{% endfor %}