trying to fix price
This commit is contained in:
parent
7feee7f8a3
commit
8194cea85e
10 changed files with 145 additions and 54 deletions
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue