trying to fix price

This commit is contained in:
bronkuu 2026-06-15 13:34:18 +02:00
parent 7feee7f8a3
commit 8194cea85e
10 changed files with 145 additions and 54 deletions

View file

@ -43,7 +43,7 @@ templ CakesMain(cakes []models.Cake) {
</td>
<td style="font-weight:500">{ c.Name }</td>
<td class="text-on-surface-variant">#{ strconv.Itoa(c.ID) }</td>
<td class="text-right">{ strconv.Itoa(c.Price) } PLN</td>
<td class="text-right">{ c.Price.String() } PLN</td>
<td class="text-center">
<a href={ templ.URL("/cake/" + strconv.Itoa(c.ID)) } class="action-btn">
<span class="material-symbols-outlined">edit</span>