refactor: improve code maintainability
This commit is contained in:
@@ -10,10 +10,10 @@
|
||||
<div class="post-content">
|
||||
<p th:text="${error?.detail}"></p>
|
||||
</div>
|
||||
<button th:onclick="'location.href=\'' + @{/} + '\''" th:text="#{page.error.back}">
|
||||
<a class="button" data-pjax th:href="@{/}" th:text="#{page.error.back}">
|
||||
Back to home page
|
||||
</button>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</th:block>
|
||||
</html>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user