itemName und itemAmount werden im selben span dargesetllt
This commit is contained in:
1 parent
fbd20f9089
commit
2963dd40a6
1 file changed
+2
-4
@@ -46,8 +46,7 @@
|
||||
<ul>
|
||||
<li th:each="item: ${category.itemsInCategory}" th:id="${item.id}"> <!-- erstellung von einem Item -->
|
||||
<input type="checkbox" class="item__markAsDone">
|
||||
<span th:text="${item.itemName}"></span>
|
||||
<span th:text="${item.itemAmount}"></span>
|
||||
<span th:text="|${item.itemName} ${item.itemAmount}|"></span>
|
||||
<button class="item__deleteButton">Löschen</button>
|
||||
</li>
|
||||
</ul>
|
||||
@@ -55,8 +54,7 @@
|
||||
|
||||
<li th:each="item: ${items}" th:id="${item.id}"> <!-- erstellung items ohne Kategorie -->
|
||||
<input type="checkbox" class="item__markAsDone">
|
||||
<span th:text="${item.itemName}"></span>
|
||||
<span th:text="${item.itemAmount}"></span>
|
||||
<span th:text="|${item.itemName} ${item.itemAmount}|"></span>
|
||||
<button class="item__deleteButton">Löschen</button>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
Reference in new issue
Block a user