{% load i18n %} {% with id=widget.attrs.id %} {% for group, options, index in widget.optgroups %} {% for option in options %}
  • {% endfor %} {% endfor %} {% endwith %}