$ fix extended edition

This commit is contained in:
moon.gibson
2026-04-21 22:19:09 -06:00
parent c0b536cba6
commit 231b1ed360
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -56,7 +56,7 @@
<div th:if="${recipe.images != null and !#lists.isEmpty(recipe.images)}"> <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;"> <img th:src="${recipe.images[0].imageUrl}" alt="Recipe Image" style="max-width: 200px;">
</div> </div>
<p class="card-cost" th:text="${recipe.cost}">Cost</p> <span th:text="${recipe.cost != null ? #strings.repeat('$', recipe.cost) : ''}"></span>
</div> </div>
</a> </a>
<a th:href="@{/recipes/{id}/edit(id=${recipe.id})}" class="edit-link">Edit</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)}"> <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;"> <img th:src="${recipe.images[0].imageUrl}" alt="Recipe Image" style="max-width: 200px;">
</div> </div>
<p th:text="${recipe.cost}">Cost</p> <span th:text="${recipe.cost != null ? #strings.repeat('$', recipe.cost) : ''}"></span>
</div> </div>
</a> </a>
</div> </div>