[web2py] Re: From ul to bootstrap row

2012-06-03 Thread Annet
Hi Anthony, Thanks for your reply, exactly what I'd hoped for. I was left with one small problem, in case of an odd number or rows in socialmedia I was missing a and closing I solved it by adding this: After this: {{for i, r in enumerate(relatednames):}} {{if not i % 2:}}{{pass}}

[web2py] Re: From ul to bootstrap row

2012-06-01 Thread Anthony
Maybe something like: {{for i, s in enumerate(socialmedia):}} {{if not i % 2:}}{{pass}} {{=s}} {{if i % 2:}}{{pass}} {{pass}} Anthony On Friday, June 1, 2012 3:05:00 AM UTC-4, Annet wrote: > > In a view I have the following code to generate an ul: > > > {{for s in socialmedia:}} >