{% for row in rows %} {% for cell, class in row.cells %} {{ cell|safe }} {% endfor %} {% endfor %}