Re: Modifying the way a ChoiceField is rendered

2009-06-04 Thread notcourage
I wish there was an easy way to customize CheckboxSelectMultiple. The widget library doesn't seem to have a well-defined customization method beyond subclass, paste the superclass impl, and edit it. I don't like the . I want to create a variant which shows thumbnails for image choices. On Jun 4,

Re: Modifying the way a ChoiceField is rendered

2009-06-04 Thread LaundroMat
On Jun 4, 11:15 am, Tom Evans wrote: > On Wed, 2009-06-03 at 14:28 -0700, LaundroMat wrote: > > Hi - > > > I'm trying to change the way a ChoiceField (with widget = > > forms.RadioSelect) is being rendered in a template. Currently, > > rendering the form as_p() for instance, will return HTML such

Re: Modifying the way a ChoiceField is rendered

2009-06-04 Thread Tom Evans
On Wed, 2009-06-03 at 14:28 -0700, LaundroMat wrote: > Hi - > > I'm trying to change the way a ChoiceField (with widget = > forms.RadioSelect) is being rendered in a template. Currently, > rendering the form as_p() for instance, will return HTML such as: > > value="1" name="type" />choice 1 > .