style: change error page back link to button style

This commit is contained in:
Erzbir
2026-06-16 10:45:32 +08:00
parent c6ced14077
commit a4d0881655
3 changed files with 6 additions and 6 deletions
+2 -2
View File
@@ -10,9 +10,9 @@
<div class="post-content">
<p th:text="${error?.detail}"></p>
</div>
<a class="button" data-pjax th:href="@{/}" th:text="#{page.error.back}">
<button data-pjax th:href="@{/}" th:text="#{page.error.back}">
Back to home page
</a>
</button>
</div>
</div>
</th:block>
+2 -2
View File
@@ -10,9 +10,9 @@
<div class="post-content">
<p th:text="${error?.detail}"></p>
</div>
<a class="button" data-pjax th:href="@{/}" th:text="#{page.error.back}">
<button data-pjax th:href="@{/}" th:text="#{page.error.back}">
Back to home page
</a>
</button>
</div>
</div>
</th:block>
+2 -2
View File
@@ -10,9 +10,9 @@
<div class="post-content">
<p th:text="${error?.detail}"></p>
</div>
<a class="button" data-pjax th:href="@{/}" th:text="#{page.error.back}">
<button data-pjax th:href="@{/}" th:text="#{page.error.back}">
Back to home page
</a>
</button>
</div>
</div>
</th:block>