Re: widget attribute help needed

2008-11-14 Thread Malcolm Tredinnick
On Fri, 2008-11-14 at 06:25 -0800, Bobby Roberts wrote: > hi. I have the following code in my forms.py > > > Anonymous = forms.ChoiceField (choices=Anonymous_Choices, > widget=forms.RadioSelect(attrs={'class':'anonymous'})) > > > which sets up a radio button UL on my form. This part is work

widget attribute help needed

2008-11-14 Thread Bobby Roberts
hi. I have the following code in my forms.py Anonymous = forms.ChoiceField (choices=Anonymous_Choices, widget=forms.RadioSelect(attrs={'class':'anonymous'})) which sets up a radio button UL on my form. This part is working great. however, i've got a problem. When viewing the source below: