﻿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
4080	newforms.widgets.RadioWidget should set attributes on the ul tag it renders	Iwan Vosloo	Adrian Holovaty	"It seems that {{{RadioWidget}}} does not render its HTML attributes passed in via attrs.

This is {{{django.newforms.widgets.RadioWidget}}} in the svn branch http://code.djangoproject.com/svn/django/trunk (revision 5023).

So, if you have a form:

{{{
class AForm(django.newforms.Form):
    widget = django.newforms.widgets.RadioSelect(attrs={'class':'radioselect'})
    field = django.newforms.fields.ChoiceField(choices=[('one', 'One'),('two', 'Two')],
                                               widget=widget)

}}}

then you would expect calling as_p on it (for example) to include a
class=""radioselect"" on, say, the ul that is generated.  This does not
happen, neither does the ul have an id.

"		closed	Forms	dev		duplicate			Accepted	1	0	1	0	0	0
