17 lines
304 B
HTML
17 lines
304 B
HTML
<!doctype html>
|
|
<title>Test App</title>
|
|
<table border="1" style="white-space:nowrap;">
|
|
<tr>
|
|
{% for datum in data %}
|
|
<th> {{ datum }} </th>
|
|
{% endfor %}
|
|
</tr>
|
|
{% for book in books %}
|
|
<tr>
|
|
{% for datum in data %}
|
|
<td> {{ book[datum] }} </td>
|
|
{% endfor %}
|
|
</tr>
|
|
{% endfor %}
|
|
</table>
|