just keep in mind simple rule: {{pass}} == anti-indent On Friday, October 14, 2016 at 7:24:11 PM UTC+3, Pierre wrote: > > Hi, > > why is this not working ? > > {{extend 'layout.html'}} > {{ d={'a':[1,2],'b':[3,4]} }} > <ul> > {{for k,v in d.items():}}<li>{{=k}}</li>{{pass}} > {{for vi in v:}}<li>{{=vi}}</li>{{pass}} > </ul> > > >
-- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.