{% for group, options, index in widget.optgroups %} {% for option in options %}
{% with widget=option %} {% include "django/forms/widgets/input.html" %} {% if widget.wrap_label %} {% endif %} {% endwith %}
{% endfor %} {% endfor %}