{% with id=widget.attrs.id %} {% for group, options, index in widget.optgroups %}{% if group %}
  • {% if can_translate %}{% include "i18n/_staff_edit_i18n.html" with original=group %}{% endif %}{{ group }} {% endif %}{% for option in options %}
  • {% include option.template_name with widget=option user=request.user %}
  • {% endfor %}{% if group %} {% endif %}{% endfor %} {% endwith %}