{%- for group, choices in field.groups %} {%- if group %} {%- endif %} {%- for value, text in choices %}