aboutsummaryrefslogtreecommitdiff
path: root/src/templates/ledger.html
diff options
context:
space:
mode:
Diffstat (limited to 'src/templates/ledger.html')
-rw-r--r--src/templates/ledger.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/templates/ledger.html b/src/templates/ledger.html
index 543ee3a..9ffdeea 100644
--- a/src/templates/ledger.html
+++ b/src/templates/ledger.html
@@ -19,8 +19,8 @@
</div>
<form method="post" action="/transaction">
<input id="datePicker" name="when" placeholder="date" type="date">
- <input name="where" placeholder="where" type="text">
- <input name="amount" placeholder="amount" type="number" step="0.01">
+ <input required name="where" placeholder="where" type="text">
+ <input required name="amount" placeholder="amount" type="number" step="0.01">
<input name="category" placeholder="category" type="text">
<input name="subcategory" placeholder="tags (csv)" type="text">
<input type="submit" value="Add">