Merge pull request #9561 from eddumelendez:gh-8137

* pr/9561:
  Improve sample to use fragment expression by thymeleaf 3
pull/9554/head
Stephane Nicoll 8 years ago
commit 5c9f10b79c

@ -1,6 +1,6 @@
<!DOCTYPE html> <!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org"> <html xmlns:th="http://www.thymeleaf.org">
<head th:replace="fragments :: head(title='Messages : Create')"> <head th:replace="fragments :: head(title=~{::title/text()})">
<title>Messages : Create</title> <title>Messages : Create</title>
</head> </head>
<body> <body>

@ -1,6 +1,6 @@
<!DOCTYPE html> <!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org"> <html xmlns:th="http://www.thymeleaf.org">
<head th:replace="fragments :: head(title='Messages : View all')"> <head th:replace="fragments :: head(title=~{::title/text()})">
<title>Messages : View all</title> <title>Messages : View all</title>
</head> </head>
<body> <body>

@ -1,6 +1,6 @@
<!DOCTYPE html> <!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org"> <html xmlns:th="http://www.thymeleaf.org">
<head th:replace="fragments :: head(title='Messages : View')"> <head th:replace="fragments :: head(title=~{::title/text()})">
<title>Messages : View</title> <title>Messages : View</title>
</head> </head>
<body> <body>

Loading…
Cancel
Save