I've a form containing a field with radio buttons that accept a Yes/No
response from the user, the field definition is:

disp_resp = forms.ChoiceField(choices=[(True,'Yes'),
(False,'No')],widget=forms.RadioSelect(), initial=False)

When rendered to the template, it produces a bullet point alongside
each radio button.

I'm having some difficulty removing this. The field is called in the
template as: {{ form.disp_resp }}

I've seen in the regression tests some use of attr={} to the widget,
but I'm not clear on what I should pass to this.

Can anyone suggest how I can pass a style parameter to the form
sub_class.


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

Reply via email to