рабочая java + Исправленная ошибка с newItem
This commit is contained in:
parent
71e4d822c7
commit
7a7cabf3e5
BIN
data.mv.db
BIN
data.mv.db
Binary file not shown.
@ -14,12 +14,12 @@
|
|||||||
<a href="/news/edit/" class="btn btn-primary">Добавить тип заказа</a>
|
<a href="/news/edit/" class="btn btn-primary">Добавить тип заказа</a>
|
||||||
</div>
|
</div>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col mt-4" th:each="new : ${news}">
|
<div class="col mt-4" th:each="newItem : ${news}">
|
||||||
<div class="rectNews d-flex flex-column">
|
<div class="rectNews d-flex flex-column">
|
||||||
<img class="image1" src="./images/New1.png" alt="new1" width="100%">
|
<img class="image1" src="./images/New1.png" alt="new1" width="100%">
|
||||||
<div class="rectNewsTextBox">
|
<div class="rectNewsTextBox">
|
||||||
<span class="rectNewsText">
|
<span class="rectNewsText">
|
||||||
<b scope="row" th:text="${new.description}"></b>
|
<b scope="row" th:text="${newItem.description}"></b>
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user