aboutsummaryrefslogtreecommitdiff
path: root/src/templates
diff options
context:
space:
mode:
Diffstat (limited to 'src/templates')
-rw-r--r--src/templates/about.html1
-rw-r--r--src/templates/ledger.html4
2 files changed, 3 insertions, 2 deletions
diff --git a/src/templates/about.html b/src/templates/about.html
index 314545e..3a80b50 100644
--- a/src/templates/about.html
+++ b/src/templates/about.html
@@ -22,6 +22,7 @@
<p>Here is how I use this site</p>
<ol>
<li>Expenses go in <em>Ledger</em>. Income also goes in the ledger as negative</li>
+ <li>I log expenses as soon as possible. If no date is entered, it defaults to now.</li>
<li>The category I use for big categories: bills, groceries, restaurants</li>
<li>Inside tags (which aren't csv yet) I have specifics: internet, coffee, gas</li>
<li><em>Summary</em> gives some view of where money is going and coming from</li>
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">