|
|
@@ -35,14 +35,14 @@
|
|
|
<td th:text="${census.place}">123</td>
|
|
|
<td th:text="${census.censusDate.label}"></td>
|
|
|
<td><span>
|
|
|
- <a th:action="delete" class="btn btn-danger btn-sm" href=""
|
|
|
- th:href="'census/' + ${census.id} + '/delete'"
|
|
|
+ <a th:action="delete" class="btn btn-danger btn-sm"
|
|
|
+ th:href="@{/census/{id}/delete(id=${census.id})}"
|
|
|
th:text="Delete"></a>
|
|
|
<a th:action="edit" class="btn btn-warning btn-sm"
|
|
|
- th:href="'census/' + ${census.id} + '/edit'"
|
|
|
+ th:href="@{/census/{id}/edit(id=${census.id})}"
|
|
|
th:text="Edit"></a>
|
|
|
<a th:action="entries" class="btn btn-info btn-sm"
|
|
|
- th:href="'selectedCensus/' + ${census.id} + '/entries'"
|
|
|
+ th:href="@{/selectedCensus/{id}/entries(id=${census.id})}"
|
|
|
th:text="Entries"></a>
|
|
|
</span></td>
|
|
|
</tr>
|