Fixed #4117: Apply id attribute to the outer <ul> of RadioSelect

This commit is contained in:
Baptiste Mispelon 2013-04-12 23:22:31 +02:00 committed by Claude Paroz
parent f56b703b27
commit c4186c2fec
5 changed files with 20 additions and 12 deletions

View file

@ -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``
~~~~~~~~~~~~~~~~~~~~~~~~~~