/ Published in: Python
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
% for i, elem in enumerate(elems): \n <tr class="${i%2 and 'odd' or 'even'}"> ...