1 2 3
<p class="page" th:if="${nextpage != null}"> <a th:href="${nextpage}" rel="prev"><span th:text="#{messages.next}" th:remove="tag">Next</span> →</a> </p>