diff options
Diffstat (limited to 'spring-boot/06-form-handling-with-thymeleaf/src/main/resources/templates/contact/result.html')
| -rw-r--r-- | spring-boot/06-form-handling-with-thymeleaf/src/main/resources/templates/contact/result.html | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/spring-boot/06-form-handling-with-thymeleaf/src/main/resources/templates/contact/result.html b/spring-boot/06-form-handling-with-thymeleaf/src/main/resources/templates/contact/result.html new file mode 100644 index 0000000..1bb4b45 --- /dev/null +++ b/spring-boot/06-form-handling-with-thymeleaf/src/main/resources/templates/contact/result.html @@ -0,0 +1,16 @@ +<!DOCTYPE HTML> +<html xmlns:th="http://www.thymeleaf.org"> +<head> + <title>Contact Us</title> + <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> +</head> +<body> + <h1>Contact Us</h1> + + <p>We received your message.</p> + + <p th:text="'Thank you ' + ${contactForm.name} + '.'" /> + + <a href="/contact">Try again</a> +</body> +</html>
\ No newline at end of file |
