15 lines
275 B
Twig
15 lines
275 B
Twig
<table>
|
|
<tr>
|
|
{% for label in data[0]|keys %}
|
|
<th>{{ label }}</th>
|
|
{% endfor %}
|
|
</tr>
|
|
{% for row in data %}
|
|
<tr>
|
|
{% for item in row %}
|
|
<td>{{ item }}</td>
|
|
{% endfor %}
|
|
</tr>
|
|
{% endfor %}
|
|
</table>
|