summaryrefslogtreecommitdiff
path: root/django/forms/templates
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2018-03-14 11:28:18 -0400
committerTim Graham <timograham@gmail.com>2018-03-15 09:10:23 -0400
commit87dc0844a634360182bcb74d491508111ef8a652 (patch)
tree072b28c846356970202d7dd06a3c845b55ed24cb /django/forms/templates
parentfb8fd535c0f47cffb4da0c5900f3f66e1ec8d432 (diff)
Fixed #29200 -- Fixed label rendering when using RadioSelect and CheckboxSelectMultiple with MultiWidget.
Diffstat (limited to 'django/forms/templates')
-rw-r--r--django/forms/templates/django/forms/widgets/input_option.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/django/forms/templates/django/forms/widgets/input_option.html b/django/forms/templates/django/forms/widgets/input_option.html
index 3f7085a4f0..48cd65b93a 100644
--- a/django/forms/templates/django/forms/widgets/input_option.html
+++ b/django/forms/templates/django/forms/widgets/input_option.html
@@ -1 +1 @@
-{% if wrap_label %}<label{% if widget.attrs.id %} for="{{ widget.attrs.id }}"{% endif %}>{% endif %}{% include "django/forms/widgets/input.html" %}{% if wrap_label %} {{ widget.label }}</label>{% endif %}
+{% if widget.wrap_label %}<label{% if widget.attrs.id %} for="{{ widget.attrs.id }}"{% endif %}>{% endif %}{% include "django/forms/widgets/input.html" %}{% if widget.wrap_label %} {{ widget.label }}</label>{% endif %}