I am working with newforms and am wanting to set the class of the <ul> produced with a ChoiceField using a RadioSelect widget. I assume it should be something like this..
field = forms.ChoiceField(choices=CHOICES, widget=forms.RadioSelect(attrs={'class': 'fun'})) output would be <label>Field:</label> <ul class="fun"> <li><label><input /> Choice 1</label></li> <li><label><input /> Choice 2 </label></li> </ul> etc. Can anyone help or does this need to be a feature request? Thanks, Sam --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---