16 lines
529 B
HTML
16 lines
529 B
HTML
{{ define "main" }}
|
|
<h1>Ledger Quick Note</h1>
|
|
<form action="/new" method="POST">
|
|
<label>Action:
|
|
{{ range .Templates }}
|
|
<input type="radio" name="action" value="{{ .Name }}">{{ .Name }}</option>
|
|
{{ end }}
|
|
</label><br>
|
|
<label>Amount: <input name="amount" type="number"></label><br>
|
|
<label>Account: <input name="account" type="text"></label></br>
|
|
<label>Tx Name: <input name="name" type="text"></label></br>
|
|
<input type="submit">
|
|
</form>
|
|
{{ template "scripts" .Scripts }}
|
|
{{ end }}
|