<!DOCTYPE html>
<html>
<head><title>Fortunes</title></head>
<body>
<table>
    <tr>
        <th>id</th>
        <th>message</th>
    </tr>
    {% for id, message in messages %}
        <tr>
            <td>{{id}}</td>
            <td>{{message|escape}}</td>
        </tr>
    {% endfor %}
</table>
</body>
</html>
