Sorry, but there is no "if loop" only "if condition". If doesn't result in
a repeating part of code.
On Sunday, October 14, 2012 7:47:36 PM UTC+2, k vamshi wrote:
>
> {{if k ==0:}}
> {{for i in dic:}}
> {{=k}}
> {{=i.Nam}}
> {{=LI(A(i.Nam, _href=URL("download",args=i.File)))}}
>      
> <strong>CREATED ON</strong> :{{=i.Given_on}}
> {{pass}}
> {{pass}}
> {{if k!=0:}}
> {{for i in dic:}}
> {{if k == i.Nam:}}
> {{l=i}}
> {{pass}}
> {{pass}}
> {{=LI(A(k, _href=URL("download",args=l.File)))}}
>      
> <strong>CREATED ON</strong> :{{=l.Given_on}}
> {{pass}}
>
>
--