{% include 'od/fields/Label.html' with widget=widget %} {% for choice_obj in widget.optgroups %} {% for option in choice_obj.1 %} {{option.label}} {% endfor %} {% endfor %}