text formatting
This commit is contained in:
parent
efae35be41
commit
d6b5e66cec
1 changed files with 2 additions and 2 deletions
|
|
@ -58,7 +58,7 @@
|
|||
{{range .}}
|
||||
<li>
|
||||
{{.Name}} {{.Price}}
|
||||
<button type=button onClick="addCake({{.ID}},'{{.Name}} {{.Price}}', 1)">dodaj</button>
|
||||
<button type=button onClick="addCake({{.ID}},'{{.Name}} ({{.Price}}PLN)', 1)">dodaj</button>
|
||||
</li>
|
||||
{{end}}
|
||||
</ul>
|
||||
|
|
@ -100,7 +100,7 @@
|
|||
}
|
||||
|
||||
{{range .Order.Cakes}}
|
||||
addCake({{.ID}}, '{{.Name}} {{.Price}}', {{.Amount}})
|
||||
addCake({{.ID}},'{{.Name}} ({{.Price}}PLN)', {{.Amount}})
|
||||
{{end}}
|
||||
</script>
|
||||
{{end}}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue