I have this code:
{% for row in table_rows %}
<tr>
{% for field in table_fields %}
<td>
<?php echo $row[$field] ?>
</td>
{% endfor %}
</tr>
{% endfor %}
How do I convert <?php echo $row->$field; ?>
into something like {{ row[field] }} or {{ row.field }}
? Of course the latter doesn't work.