summaryrefslogtreecommitdiff
path: root/docs/releases
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 /docs/releases
parentfb8fd535c0f47cffb4da0c5900f3f66e1ec8d432 (diff)
Fixed #29200 -- Fixed label rendering when using RadioSelect and CheckboxSelectMultiple with MultiWidget.
Diffstat (limited to 'docs/releases')
-rw-r--r--docs/releases/2.1.txt9
1 files changed, 9 insertions, 0 deletions
diff --git a/docs/releases/2.1.txt b/docs/releases/2.1.txt
index b22f27dcd7..aa4c6b14a4 100644
--- a/docs/releases/2.1.txt
+++ b/docs/releases/2.1.txt
@@ -310,6 +310,15 @@ If you want to continue to allow those passwords to be used, you'll
have to define the :setting:`PASSWORD_HASHERS` setting (if you don't already)
and include ``'django.contrib.auth.hashers.BCryptPasswordHasher'``.
+Moved ``wrap_label`` widget template context variable
+-----------------------------------------------------
+
+To fix the lack of ``<label>`` when using ``RadioSelect`` and
+``CheckboxSelectMultiple`` with ``MultiWidget``, the ``wrap_label`` context
+variable now appears as an attribute of each option. For example, in a custom
+``input_option.html`` template, change ``{% if wrap_label %}`` to
+``{% if widget.wrap_label %}``.
+
Miscellaneous
-------------