summaryrefslogtreecommitdiff
path: root/spring-boot/06-form-handling-with-thymeleaf/src/main/resources/templates/contact/result.html
blob: 354c8b307b7c31ca5c41b828da1de324738c6661 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<!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" />
    <link rel="stylesheet" th:href="@{/css/main.css}" />
</head>
<body>
	<h1>Contact Us</h1>
    
    <p>We received your message.</p>

    <p th:text="'Thank you ' + ${contactForm.name} + '.'" />

    <a th:href="@{/contact}">Try again</a>
</body>
</html>