From af1f986360dc6bb6e75e960dbc191707541128ac Mon Sep 17 00:00:00 2001 From: Tim Graham Date: Sat, 15 Apr 2017 13:55:33 -0400 Subject: Fixed #28059 -- Restored class attribute in {% endif %}{% endfor %} diff --git a/django/forms/templates/django/forms/widgets/multiple_input.html b/django/forms/templates/django/forms/widgets/multiple_input.html index 2362aff4e6..0ba9942874 100644 --- a/django/forms/templates/django/forms/widgets/multiple_input.html +++ b/django/forms/templates/django/forms/widgets/multiple_input.html @@ -1,4 +1,4 @@ -{% with id=widget.attrs.id %}{% for group, options, index in widget.optgroups %}{% if group %} +{% with id=widget.attrs.id %}{% for group, options, index in widget.optgroups %}{% if group %}
  • {{ group }}{% endif %}{% for option in options %}
  • {% include option.template_name with widget=option %}
  • {% endfor %}{% if group %} {% endif %}{% endfor %} -- cgit v1.3