<!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="papers/fragments/paperNavigationFragment"/>
            </div>
            <div class="row justify-content-center" id="dashboard">
                <th:block th:each="paper : ${papers}">
                    <div th:replace="papers/fragments/paperDashboardFragment :: paperDashboard(paper=${paper})"/>
                </th:block>
            </div>
            <div th:replace="fragments/noRecordsFragment :: noRecords(entities=${papers}, noRecordsMessage=' одной статьи', url='paper')"/>
        </div>
    </section>
</div>
</body>
</html>