diff --git a/spring-boot-samples/spring-boot-sample-web-ui/src/main/resources/templates/layout.html b/spring-boot-samples/spring-boot-sample-web-ui/src/main/resources/templates/layout.html
index 1263f6d9e3..83a1cd8312 100644
--- a/spring-boot-samples/spring-boot-sample-web-ui/src/main/resources/templates/layout.html
+++ b/spring-boot-samples/spring-boot-sample-web-ui/src/main/resources/templates/layout.html
@@ -1,32 +1,25 @@
-
-
- Layout
-
-
-
-
-
-
Layout
-
- Fake content
-
-
-
+
+
+Layout
+
+
+
+
+
+
Layout
+
Fake content
+
+
diff --git a/spring-boot-samples/spring-boot-sample-web-ui/src/main/resources/templates/messages/form.html b/spring-boot-samples/spring-boot-sample-web-ui/src/main/resources/templates/messages/form.html
index 20ff318301..747f029161 100644
--- a/spring-boot-samples/spring-boot-sample-web-ui/src/main/resources/templates/messages/form.html
+++ b/spring-boot-samples/spring-boot-sample-web-ui/src/main/resources/templates/messages/form.html
@@ -1,47 +1,34 @@
-
- Messages : Create
-
-
- Messages : Create
-
-
-
\ No newline at end of file
+ xmlns:layout="http://www.ultraq.net.nz/web/thymeleaf/layout"
+ layout:decorator="layout">
+
+Messages : Create
+
+
+ Messages : Create
+
+
+
diff --git a/spring-boot-samples/spring-boot-sample-web-ui/src/main/resources/templates/messages/list.html b/spring-boot-samples/spring-boot-sample-web-ui/src/main/resources/templates/messages/list.html
index 862b46dfb9..2082622b17 100644
--- a/spring-boot-samples/spring-boot-sample-web-ui/src/main/resources/templates/messages/list.html
+++ b/spring-boot-samples/spring-boot-sample-web-ui/src/main/resources/templates/messages/list.html
@@ -1,45 +1,37 @@
-
- Messages : View all
-
-
- Messages : View all
-
-
-
-
-
- ID
- Created
- Summary
-
-
-
-
-
- No messages
-
-
-
- 1
-
- July 11, 2012 2:17:16 PM CDT
-
-
-
- The summary
-
-
-
-
-
-
-
-
\ No newline at end of file
+ xmlns:layout="http://www.ultraq.net.nz/web/thymeleaf/layout"
+ layout:decorator="layout">
+
+Messages : View all
+
+
+ Messages : View all
+
+
+
+
+
+ ID
+ Created
+ Summary
+
+
+
+
+ No messages
+
+
+ 1
+ July 11,
+ 2012 2:17:16 PM CDT
+ The summary
+
+
+
+
+
+