<!doctype html5>
<html>
<head>
<title>In Vino Veritas</title>
</head>
<body>
	The DB contains {{ .Wines | len }} wine(s) right now:

	<form method="POST" action="/add">
		<input type="text" name="name" placeholder="Name"></input>
		<input type="number" name="rating" placeholder="Rating"></input>

		<span>TODO: Image</todo>

		<button type="submit">+</button>
	</form>

	<table>
		<tr><th>#</th><th>Name</th><th>Rating</th></tr>
		{{ range .Wines }}
			<tr><td>{{ .ID }}</td><td>{{ .Name }}</td><td>{{ .Rating }}</td></tr>
		{{ end }}
	</table>

	<p>And a bit of foo.</p>
</body>
</html>