<html>
<head>
<style>
    body {font-family: verdana; font-size: 10pt;}
    h3 a {font-weight: normal;}
    li {margin-bottom: 0.8em;}
</style>
</head>
<body>
    <table>
        <tr>
            <th>Название</th>
            <th>Количество человек</th>
            <th>Логины</th>
        </tr>
        {% for item in data %}
        <tr>
            <td>
                <a href="{% url view_book item.book.id %}">{{ item.book.title }}</a>
            </td>
            <td>{{ item.count }}</td>
            <td>{{ item.logins }}</td>
        </tr>
        {% endfor %}
    </table>
    </div>
</body></html>
