diff options
Diffstat (limited to 'spring-boot/05-bank-rest-client/src/main/resources/templates/form.html')
| -rw-r--r-- | spring-boot/05-bank-rest-client/src/main/resources/templates/form.html | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/spring-boot/05-bank-rest-client/src/main/resources/templates/form.html b/spring-boot/05-bank-rest-client/src/main/resources/templates/form.html new file mode 100644 index 0000000..7927b92 --- /dev/null +++ b/spring-boot/05-bank-rest-client/src/main/resources/templates/form.html @@ -0,0 +1,17 @@ +<!DOCTYPE HTML> +<html xmlns:th="http://www.thymeleaf.org"> + +<head> + <title>Check Account Balance</title> + <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> +</head> + +<body> + <h1>Form</h1> + <form action="#" th:action="@{/acc}" th:object="${account}" method="post"> + <p>Account number: <input type="text" th:field="*{accNo}" /></p> + <p><input type="submit" value="Submit" /> <input type="reset" value="Reset" /></p> + </form> +</body> + +</html>
\ No newline at end of file |
