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 .}}
|
{{range .}}
|
||||||
<li>
|
<li>
|
||||||
{{.Name}} {{.Price}}
|
{{.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>
|
</li>
|
||||||
{{end}}
|
{{end}}
|
||||||
</ul>
|
</ul>
|
||||||
|
|
@ -100,7 +100,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
{{range .Order.Cakes}}
|
{{range .Order.Cakes}}
|
||||||
addCake({{.ID}}, '{{.Name}} {{.Price}}', {{.Amount}})
|
addCake({{.ID}},'{{.Name}} ({{.Price}}PLN)', {{.Amount}})
|
||||||
{{end}}
|
{{end}}
|
||||||
</script>
|
</script>
|
||||||
{{end}}
|
{{end}}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue