<!DOCTYPE html>
<html lang="ru" xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout" layout:decorate="~{default}">
<head>
    <title>Статистика пользователей</title>
</head>
<body>
    <main layout:fragment="content">
        <table class="table">
            <caption></caption>
            <thead>
                <tr>
                    <th scope="col" class="w-50">Кафедра</th>
                    <th scope="col" class="w-25">Количество пользователей</th>
                </tr>
            </thead>
            <tbody>
                <tr th:each="statisctic : ${statisctics}">
                    <th scope="row" th:text="${statisctic.departmentName}"></th>
                    <th scope="row" th:text="${statisctic.count}"></th>
                </tr>
            </tbody>
        </table>
    </main>
</body>

</html>