On Feb 26, 2009, at 10:04 PM, Alex Gaynor wrote:

>
>
> On Thu, Feb 26, 2009 at 9:56 PM, Jack Orenstein <j...@geophile.com>  
> wrote:
>
> <ul>
> <li><label for="id_gender_0"><input type="radio" id="id_gender_0"
> value="m" name="gender" /> male</label></li>
> <li><label for="id_gender_1"><input type="radio" id="id_gender_1"
> value="f" name="gender" /> female</label></li>
> </ul>
>
> I want to get rid of the ul and li tags, and just put a <br> between
> the two inputs.
>
> I'm going to try subclassing RadioSelect and overriding render.
>

> Yep that's the right technique for now, there's  aticket to make  
> those widgets that have multiple tags(checkbox and radio input)  
> iterable so you could iterate over it nicely.

That would be nice. Do you know when this is expected to materialize?

Jack

--~--~---------~--~----~------------~-------~--~----~
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 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to