Fixed project list rendering

This commit is contained in:
neviyn 2021-03-31 10:09:47 +01:00
parent da45f0c633
commit ef621c7573

View File

@ -5,7 +5,7 @@
</head>
<body>
<form id="logoutForm" method="POST" th:action="@{/logout}">
<input type="hidden" name="${_csrf.parameterName}" value="${_csrf.token}"/>
<input name="${_csrf.parameterName}" type="hidden" value="${_csrf.token}"/>
</form>
<div th:replace="fragments :: navbar"></div>
<div class="container">
@ -16,9 +16,9 @@
</div>
<div class="row justify-content-center">
<div class="col-xl-6 col-md-8 col-sm-12">
<div class="list-group" th:each="project : ${projects}">
<!--suppress ThymeleafVariablesResolveInspection -->
<a class="list-group-item list-group-item-action" th:text="${project.title}" th:href="@{~/project/{id}(id=${project.id})}">Title
<div class="list-group">
<a th:each="project : ${projects}" class="list-group-item list-group-item-action" th:href="@{~/project/{id}(id=${project.id})}"
th:text="${project.title}">Title
</a>
</div>
</div>