Re: if forloop.counter

2009-08-13 Thread When ideas fail
Thanks! On 13 Aug, 20:52, Jonas Obrist wrote: > When ideas fail wrote: > > Hello, i know you can have things like {% if forloop.last %} > > but is it possible to have an if statement that matches the value of a > > forloop counter > > so it would be like: >

Re: if forloop.counter

2009-08-13 Thread Jonas Obrist
When ideas fail wrote: > Hello, i know you can have things like {% if forloop.last %} > but is it possible to have an if statement that matches the value of a > forloop counter > so it would be like: > > {% if forloop.counter = 6 % } > > or similar and how cou

if forloop.counter

2009-08-13 Thread When ideas fail
Hello, i know you can have things like {% if forloop.last %} but is it possible to have an if statement that matches the value of a forloop counter so it would be like: {% if forloop.counter = 6 % } or similar and how could i do that? Thanks