<!DOCTYPE html>
<html lang="en"
      xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout"
      layout:decorator="default" xmlns:th="http://www.w3.org/1999/xhtml">
<head>
</head>
<body>
<div class="container" layout:fragment="content">
    <section id="services">
        <div class="container">
            <div class="col-lg-12 text-center">
                <h2 class="section-heading text-uppercase">Гранты</h2>
                <div th:replace="grants/fragments/grantNavigationFragment"/>
            </div>
            <div class="row justify-content-center" id="dashboard">
                <th:block th:each="grant : ${grants}">
                    <div th:replace="grants/fragments/grantDashboardFragment :: grantDashboard(grant=${grant})"/>
                </th:block>
            </div>
            <div th:replace="fragments/noRecordsFragment :: noRecords(entities=${grants}, noRecordsMessage=' одного гранта', url='grant')"/>
        </div>
    </section>
</div>
</body>
</html>