aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMark Powers <markppowers0@gmail.com>2020-10-19 18:02:46 -0500
committerMark Powers <markppowers0@gmail.com>2020-10-19 18:02:46 -0500
commitad24db7fe9fca72c38caaa40d2ada8cbeb04994d (patch)
treeb36ec453a0e4a6daa0e889fc936be231757a8d21 /src
parent43a0e72c9955fd2900492530ab283d083b617ba8 (diff)
Add about me and sign up
Diffstat (limited to 'src')
-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">