Created
August 15, 2021 16:27
-
-
Save jianhe-fun/2634aa944f2effdb0dab44f67e634695 to your computer and use it in GitHub Desktop.
gist for owner index html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en" xmlns:th="http://www.thymeleaf.org"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Title</title> | |
</head> | |
<body> | |
<h1 style="text-align: center;" th:text="'List Of all Owner'">List of owner.</h1> | |
<table> | |
<thead> | |
<tr> | |
<th>Id</th> | |
<th>First Name</th> | |
<th>Last Name</th> | |
</tr> | |
</thead> | |
<tbody> | |
<tr th:each="owner : ${owners}"> | |
<td th:text="${owner.id}">Alfreds Futterkiste</td> | |
<td th:text="${owner.firstName}">Maria Anders</td> | |
<td th:text="${owner.lastName}">Germany</td> | |
</tr> | |
</tbody> | |
</table> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment