This commit is contained in:
kaipher7
2026-04-22 00:00:32 -06:00
2 changed files with 5 additions and 1 deletions
+1 -1
View File
@@ -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,11 @@
<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>
<<<<<<< HEAD
<p class="card-cost" th:text="${recipe.cost}">Cost</p>
=======
<span th:text="${recipe.cost != null ? #strings.repeat('$', recipe.cost) : ''}"></span>
>>>>>>> 231b1ed3607b784edde28c9424f1d2bd8d350d6d
</div>
</a>
</div>