From b1f96a46415b830a96dd86030c4ecead6bc4ef2a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Edd=C3=BA=20Mel=C3=A9ndez?= Date: Tue, 20 Jun 2017 18:53:12 -0500 Subject: [PATCH] Improve sample to use fragment expression by thymeleaf 3 Avoid repeated title text making use of capabilities in thymeleaf 3. Closes gh-9561 --- .../src/main/resources/templates/messages/form.html | 2 +- .../src/main/resources/templates/messages/list.html | 2 +- .../src/main/resources/templates/messages/view.html | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) 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 1a57695bad..f594c3a0df 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,6 +1,6 @@ - + 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 705fdb439e..b7a567823d 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,6 +1,6 @@ - + Messages : View all diff --git a/spring-boot-samples/spring-boot-sample-web-ui/src/main/resources/templates/messages/view.html b/spring-boot-samples/spring-boot-sample-web-ui/src/main/resources/templates/messages/view.html index 5b95634b5a..d69a16a371 100644 --- a/spring-boot-samples/spring-boot-sample-web-ui/src/main/resources/templates/messages/view.html +++ b/spring-boot-samples/spring-boot-sample-web-ui/src/main/resources/templates/messages/view.html @@ -1,6 +1,6 @@ - + Messages : View