Hi, I want to create a row in my table for with 5 products in each row I tried to use the modulus with the forloop.counter but it doesn't seem to work
{% for product in product_list %} {% ifequal forloop.counter%5 0 %}<tr> {% endifequal %} <td>{{ product.title }}</td> {% ifequal forloop.counter%5 0 %}</tr> {% endifequal %} {% endfor %} What is the best way to do this? Thanks in advance Jon --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to google-appengine@googlegroups.com To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~----------~----~----~----~------~----~------~--~---