mirror of
https://github.com/django/django.git
synced 2025-08-04 02:48:35 +00:00
Fixed #4117: Apply id attribute to the outer <ul> of RadioSelect
This commit is contained in:
parent
f56b703b27
commit
c4186c2fec
5 changed files with 20 additions and 12 deletions
|
@ -633,6 +633,11 @@ Selector and checkbox widgets
|
|||
If you decide not to loop over the radio buttons -- e.g., if your template simply includes
|
||||
``{{ myform.beatles }}`` -- they'll be output in a ``<ul>`` with ``<li>`` tags, as above.
|
||||
|
||||
.. versionchanged:: 1.6
|
||||
|
||||
The outer ``<ul>`` container will now receive the ``id`` attribute defined on
|
||||
the widget.
|
||||
|
||||
``CheckboxSelectMultiple``
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue