adding cakes 50% working

This commit is contained in:
Bronku 2025-01-31 22:56:21 +01:00
parent a09cee09c8
commit cd7c9a9d0c
8 changed files with 57 additions and 38 deletions

View file

@ -1,8 +1,8 @@
<div id="cake_preview">
<ul>
<li>ID: {{.ID}}</li>
<li>Name: {{.Name}}</li>
<li>Price: {{.Price}}</li>
<li>Name: {{.Cake.Name}}</li>
<li>Price: {{.Cake.Price}}</li>
</ul>
<button type="button" onClick="document.getElementById('cake_preview').remove()">close</button>
</div>