﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
29200	RadioSelect does not render its label in MultiWidget	Takayuki Hirai	Tim Graham	"The code:

{{{
#!python
from django import forms


class MyWidget(forms.MultiWidget):
    def __init__(self):
        widgets = [
            forms.RadioSelect(
                choices=[('aaa', 'bbb')]
            )
        ]
        super(MyWidget, self).__init__(
            widgets=widgets,
            attrs={},
        )

    def decompress(self, v):
        return []


print(MyWidget().render('wname', None))
}}}

Actual output:

{{{
<ul>
    <li><input type=""radio"" name=""wname_0"" value=""aaa"" />


</li>
</ul>
}}}

Expected output:

{{{
<ul>
    <li><label><input type=""radio"" name=""wname_0"" value=""aaa"" />
 bbb</label>

</li>
</ul>
}}}

It seems that this problem is caused by the following reasons:

- a template of {{{RadioSelect}}} requires {{{wrap_label}}} context varialbe to render LABEL elements
-  {{{MultiWidget.get_context()}}} drops {{{wrap_label}}}"	Bug	closed	Forms	1.11	Normal	fixed			Ready for checkin	1	0	0	0	0	0
