summaryrefslogtreecommitdiff
path: root/spring-boot/06-form-handling-with-thymeleaf/src/main/resources/templates/index.html
diff options
context:
space:
mode:
authorKamal Wickramanayake <kamal@inbox.lk>2026-06-06 21:29:42 +0530
committerKamal Wickramanayake <kamal@inbox.lk>2026-06-06 21:29:42 +0530
commit9c9d4a713c0f48a9f99e5c3ee9c03d245de4b931 (patch)
treedeeca88f878f717ab6ca7ade269c596ae9120d88 /spring-boot/06-form-handling-with-thymeleaf/src/main/resources/templates/index.html
parent8fc60b3ccd9fd076004d61c2bc190aaedd073c46 (diff)
Added th:href to web pages in Spring Boot sample web apps with Thymeleaf
Diffstat (limited to 'spring-boot/06-form-handling-with-thymeleaf/src/main/resources/templates/index.html')
-rw-r--r--spring-boot/06-form-handling-with-thymeleaf/src/main/resources/templates/index.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/spring-boot/06-form-handling-with-thymeleaf/src/main/resources/templates/index.html b/spring-boot/06-form-handling-with-thymeleaf/src/main/resources/templates/index.html
index 9259f47..1f4b54c 100644
--- a/spring-boot/06-form-handling-with-thymeleaf/src/main/resources/templates/index.html
+++ b/spring-boot/06-form-handling-with-thymeleaf/src/main/resources/templates/index.html
@@ -11,7 +11,7 @@
<h1>Form handling example with Thymeleaf</h1>
-<a href="/contact">Contact Us</a>
+<a th:href="@{/contact}">Contact Us</a>
</body>