mirror of
https://gitlab.com/etc404/software-engineering-project.git
synced 2026-05-10 20:52:58 +00:00
$ fix extended edition
This commit is contained in:
@@ -56,7 +56,7 @@
|
||||
<div th:if="${recipe.images != null and !#lists.isEmpty(recipe.images)}">
|
||||
<img th:src="${recipe.images[0].imageUrl}" alt="Recipe Image" style="max-width: 200px;">
|
||||
</div>
|
||||
<p class="card-cost" th:text="${recipe.cost}">Cost</p>
|
||||
<span th:text="${recipe.cost != null ? #strings.repeat('$', recipe.cost) : ''}"></span>
|
||||
</div>
|
||||
</a>
|
||||
<a th:href="@{/recipes/{id}/edit(id=${recipe.id})}" class="edit-link">Edit</a>
|
||||
|
||||
@@ -56,7 +56,7 @@
|
||||
<div th:if="${recipe.images != null and !#lists.isEmpty(recipe.images)}">
|
||||
<img th:src="${recipe.images[0].imageUrl}" alt="Recipe Image" style="max-width: 200px;">
|
||||
</div>
|
||||
<p th:text="${recipe.cost}">Cost</p>
|
||||
<span th:text="${recipe.cost != null ? #strings.repeat('$', recipe.cost) : ''}"></span>
|
||||
</div>
|
||||
</a>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user