20 lines
507 B
HTML
20 lines
507 B
HTML
{% extends "base.html" %}
|
|
|
|
{% block title %}Database{% endblock %}
|
|
|
|
{% block content %}
|
|
<h1>Sample database</h1>
|
|
<p><a href="/add">Add a user</a></p>
|
|
<table>
|
|
<tbody>
|
|
{% for row in rows %}
|
|
<tr>
|
|
<td>{{ row.id }}</td>
|
|
<td>{{ row.email }}</td>
|
|
<td>{{ row.name }}</td>
|
|
<td>{{ row.age }}</td>
|
|
</tr>
|
|
{% endfor %}
|
|
</tbody>
|
|
</table>
|
|
{% endblock %}
|