tablerow

Generates an HTML table. Must be wrapped in opening <table> and closing </table> HTML tags.

Input
  • foo.bar = [1, 2, 3]
    <table>{% tablerow item in foo.bar %}{{ item }}{% endtablerow %}</table>
Output
  • <table><tr class="row1"><td class="col1">1</td><td class="col2">2</td><td class="col3">3</td></tr></table>