ModelForm Field not display choice text

2010-12-27 Thread Michael Thamm
Hi, I am using the jQuery stars on a radio field as a custom renderer. The stars come up nicely but the choice text still displays to the side of the stars. How can I not show the choice text but still populate the field with the choice result? I am displaying the field in the template like this: {

Re: ModelForm Field not display choice text

2010-12-27 Thread Michael Thamm
One thought, and this maybe the whole issue, is that the radio button is using labels for the text and not titles. I would expect the output to be something like this: but instead the output is like this: 1 Is this something that anyone else has had to deal with? Thanks Michael On Dec

Re: ModelForm Field not display choice text

2010-12-27 Thread Chris Lawlor
Michael, In one of my projects, I did something like this: {% for field in rating_form %} {{ field}} {% endfor %} $('#stars').children().not(":radio").hide() $('#stars').stars({ cancelShow: false, callback: function(ui, type, value){ ajaxVot

Re: ModelForm Field not display choice text

2010-12-27 Thread Michael Thamm
Thanks very much - that does help. I'm surprised it has to be done in jquery. But if it works, I'm all for it. Thanks again. On Dec 27, 9:16 am, Chris Lawlor wrote: > Michael, > > In one of my projects, I did something like this: > > >     {% for field in rating_form %} >         {{ field}} >