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.
Jim
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---