On Tue, 2009-04-07 at 17:28 -0700, Jim wrote: > Hello, > > I have this form. > > class SearchForm(forms.Form): > search=forms.CharField(widget=widgets.SearchWidget) > search_type=forms.MultipleChoiceField > (widget=CheckboxSelectMultiple,choices=[('a','A'),('b','B'),]) > > In the template I want to say something like this. > <table> > <tr><td>Search</td> <td>{{fm.search}}</td></tr> > <tr><td>Type</td> <td>{% for k in ??? %}{{k}} {% endfor %}</td></ > tr> > </table> > but I cannot make out what goes in that last <td>..</td> . Could I > ask someone to help me with a hint? I'd be very grateful.
Sounds like you're after the functionality that is currently missing and is the the ultimate solution of ticket #9230. For now, there's no particularly good workaround beyond writing your own widget or manually writing the HTML. Regards, Malcolm --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---