Return to Snippet

Revision: 3838
at September 22, 2007 17:27 by ches


Initial Code
% for i, elem in enumerate(elems): \n <tr class="${i%2 and 'odd' or 'even'}"> ...

Initial URL

                                

Initial Description

                                

Initial Title
Alternate Table Row Classes in a Mako Template

Initial Tags
python

Initial Language
Python