row.html 505 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<!DOCTYPE html>

<html xmlns:th="http://www.thymeleaf.org">

<body>

<div th:fragment="row(label, content)" class="row py-2">
  <div class="col-md-4 label pb-1 pb-md-0" th:text="${label}"></div>
  <div class="col">
    <th:block th:replace="${content}" />
  </div>
</div>

<div th:fragment="text-row(label, text)" th:if="${!#strings.isEmpty(text)}" class="row py-2">
  <div class="col-md-4 label pb-1 pb-md-0" th:text="${label}"></div>
  <div class="col" th:text="${text}"></div>
</div>

</body>

</html>