parsing metadata

This commit is contained in:
bronku 2025-02-06 20:26:34 +01:00
parent bc4c9d62f0
commit 8081d61f2f
2 changed files with 38 additions and 7 deletions

View file

@ -8,6 +8,7 @@
<form method="post">
<div>
<h2>Info</h2>
<input hidden="true" name="id" value="{{.ID}}">
<label>name</label>
<input type="text" name="name" value="{{.Name}}">
<label>surname</label>
@ -20,7 +21,9 @@
<option value="Somonino">Somonino</option>
</select>
<label>date</label>
<input type="date" name="date" value="{{.Date}}">
<input type="date" name="date" value="{{.Date.Format "2006-01-02"}}">
<label>paid</label>
<input type="number" name="paid" min="0" value="{{.Paid}}">
</div>
<div>
<h2>Basket</h2>