2023-10-28 00:44:36 +02:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html>
|
|
|
|
|
|
|
|
<head>
|
|
|
|
<title>Scontrini</title>
|
|
|
|
<link rel="stylesheet" href="">
|
|
|
|
</head>
|
|
|
|
|
|
|
|
<body>
|
|
|
|
<h1>PIZZE</h1>
|
|
|
|
|
|
|
|
<form action="/pizza" method="post">
|
|
|
|
<table id="pizzas">
|
2023-11-07 20:08:40 +01:00
|
|
|
<tr>
|
|
|
|
<td>
|
|
|
|
Nome
|
|
|
|
</td>
|
|
|
|
<td>
|
|
|
|
Prezzo
|
|
|
|
</td>
|
|
|
|
<td>
|
|
|
|
Quantità
|
|
|
|
</td>
|
|
|
|
</tr>
|
2023-10-28 00:44:36 +02:00
|
|
|
{{ range . }}
|
|
|
|
<tr>
|
|
|
|
<td>
|
|
|
|
{{ .Name }}
|
|
|
|
</td>
|
|
|
|
<td>
|
|
|
|
{{ .Price }}
|
|
|
|
</td>
|
|
|
|
<td>
|
|
|
|
<input name="{{ .Name }}" type="number" value="0"></input>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
{{ end }}
|
|
|
|
</table>
|
|
|
|
<input name="submit" id="submit" type="submit" value="ORDINA LA PIZZA"></input>
|
|
|
|
</form>
|
|
|
|
<button><a href="/">Stampa qualcosa</a></button>
|
|
|
|
</body>
|
|
|
|
|
|
|
|
</html>
|
|
|
|
|