<p th:each="user : ${users}" th:text="${user.name}"></p>
결과
<table>
<tr th:if="${not #lists.isEmpty(users)}" th:each="user : ${users}">
<td th:text="${user.name}"></td>
</tr>
<tr th:if="${#lists.isEmpty(users)}">
<td>조회된 데이터가 없습니다.</td>
</tr>
</table>
결과
<div class="col-md-2">
<label class="control-label">시간</label>
<select class="form-control form-white" name="category-hour" id="category-hour">
<option th:each="i : ${#numbers.sequence(1, 24)}" th:value="${i}" th:text="${#numbers.formatInteger(i,2)}"></option>
</select>
</div>
<div class="col-md-2">
<label class="control-label">분</label>
<select class="form-control form-white" name="category-minute" id="category-minute">
<option th:each="i : ${#numbers.sequence(0, 55, 5)}" th:step="5" th:value="${i}" th:text="${#numbers.formatInteger(i,2)}"></option>
</select>
</div>
결과