diff --git a/as-talange-web/src/main/resources/templates/adherents/list.html b/as-talange-web/src/main/resources/templates/adherents/list.html index db11fb3..ad560ad 100644 --- a/as-talange-web/src/main/resources/templates/adherents/list.html +++ b/as-talange-web/src/main/resources/templates/adherents/list.html @@ -175,7 +175,7 @@ hx-target="#adherents-table-container" hx-select="#adherents-table-container" hx-include="#filter-row input, #filter-row select, input[name='query']" - th:attr="hx-vals=|{'page': ${currentPage - 1}}|" + th:attr="hx-vals=|{"page": ${currentPage - 1}}|" class="px-3 py-1 border border-gray-300 rounded hover:bg-gray-100 transition-colors"> Précédent @@ -190,7 +190,7 @@ hx-target="#adherents-table-container" hx-select="#adherents-table-container" hx-include="#filter-row input, #filter-row select, input[name='query']" - th:attr="hx-vals=|{'page': ${pageNum}}|" + th:attr="hx-vals=|{"page": ${pageNum}}|" th:text="${pageNum + 1}" class="px-3 py-1 rounded transition-colors" th:classappend="${currentPage == pageNum ? 'bg-blue-600 text-white' : 'border border-gray-300 hover:bg-gray-100'}"> @@ -205,7 +205,7 @@ hx-target="#adherents-table-container" hx-select="#adherents-table-container" hx-include="#filter-row input, #filter-row select, input[name='query']" - th:attr="hx-vals=|{'page': ${currentPage + 1}}|" + th:attr="hx-vals=|{"page": ${currentPage + 1}}|" class="px-3 py-1 border border-gray-300 rounded hover:bg-gray-100 transition-colors"> Suivant