Demonstration of multiple dynamically instantiated beans
[demos/multiple-beans] / src / main / resources / templates / 400.html
1 <!DOCTYPE HTML>
2 <html xmlns:th="http://www.thymeleaf.org" th:replace="~{layout :: pagelayout(~{:: title}, ~{:: h1}, ~{:: div.card-text})}">
3   <head>
4     <title th:text="'400: ' + ${exception.getClass().getSimpleName()}">Testing Exception-Handling - Template for 400</title>
5     <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css">
6     <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
7   </head>
8   <body>
9     <h1 th:text="'400: ' + ${exception.getClass().getSimpleName()}">Template for 400</h1>
10     <div class="card-text table">
11       <p><strong th:text="'Catched exception: ' + ${exception}">EXCEPTION</strong></p>
12       <p><a href="#" th:href="@{/}" class="btn btn-primary">Back to HOME</a></p>
13     </div>
14   </body>
15 </html>