List Info

Thread: checkbox (newforms)




checkbox (newforms)
country flaguser name
Belgium
2007-07-31 05:40:21
In my form I got {{ form.boxes }} 
Form.boxes contain 10 checkboxes that are displayed in a ul
li list.
However I want them in three columns so I thougt I should be
able to
acces each in by {{ form.boxes.1 }} or {% for item in boxes
%} 
Alas this does not work. The IRC channel didn't help ... So
how do i do
this?

Enquest


--~--~---------~--~----~------------~-------~--~----~
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 htt
p://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---


Re: checkbox (newforms)
country flaguser name
United States
2007-07-31 07:02:01
Enquest escribió:
> In my form I got {{ form.boxes }} 
> Form.boxes contain 10 checkboxes that are displayed in
a ul li list.
> However I want them in three columns so I thougt I
should be able to
> acces each in by {{ form.boxes.1 }} or {% for item in
boxes %} 
> Alas this does not work. The IRC channel didn't help
... So how do i do
> this?
>
> Enquest
>
>
> >
>   
What is form.boxes (ie. what kind of data is it?)

--~--~---------~--~----~------------~-------~--~----~
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 htt
p://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---


[1-2]

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