On Thu, Feb 26, 2009 at 10:10 PM, Jack Orenstein <j...@geophile.com> wrote:
> > 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 > > > > I think it's marked as a ticket for 1.1, but as with anything, when there's a working patch with good tests and docs and then a committer has time to review it. Alex -- "I disapprove of what you say, but I will defend to the death your right to say it." --Voltaire "The people's good is the highest law."--Cicero --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---