Files
ledger-quicknote/templates/index.html
2022-10-18 03:04:33 +08:00

21 lines
607 B
HTML

<!DOCTYPE html>
<html>
<head>
<title>Ledger Quick Note</title>
</head>
<body>
<h1>Ledger Quick Note</h1>
<form action="/action" method="POST">
<label>Action: <select name="action">
{{ range .Templates }}
{{ if ne .Name "index.html" }}
<option value="{{ .Name }}">{{ .Name }}</option>
{{ end }}
{{ end }}
</select></label>
<label>Amount: <input name="amount" type="number"></label>
<input type="submit">
</form>
</body>
</html>