List Info

Thread: getting a check box to display




getting a check box to display
user name
2006-09-29 05:23:07
hi,
i am defining a check box like so:

forms.CheckboxField(field_name=_("Vote"))

what do i put in the template to display a checkbox with the
word  
'Vote' next to it. The custom manipulator docs dont give an
example  
of the template
-- 

regards
kg
http://lawgon.livejourn
al.com
http://nrcfosshelpline
.in/web/



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "Django users" group.
To post to this group, send email to django-usersgooglegroups.com
To unsubscribe from this group, send email to
django-users-unsubscribegooglegroups.com
For more options, visit this group at http://gr
oups.google.com/group/django-users
-~----------~----~----~----~------~----~------~--~---

getting a check box to display
user name
2006-09-29 16:31:59
try using maybe {% trans Vote %} as a name in the template.
I used such
solution for simple text, it may work for forms too.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "Django users" group.
To post to this group, send email to django-usersgooglegroups.com
To unsubscribe from this group, send email to
django-users-unsubscribegooglegroups.com
For more options, visit this group at http://gr
oups.google.com/group/django-users
-~----------~----~----~----~------~----~------~--~---

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )