summaryrefslogtreecommitdiff
path: root/templates/chart.html.tera
diff options
context:
space:
mode:
Diffstat (limited to 'templates/chart.html.tera')
-rw-r--r--templates/chart.html.tera8
1 files changed, 4 insertions, 4 deletions
diff --git a/templates/chart.html.tera b/templates/chart.html.tera
index 64cb9b3..50adbef 100644
--- a/templates/chart.html.tera
+++ b/templates/chart.html.tera
@@ -44,9 +44,9 @@
{{ account_name }}
</a>
<div class="dropdown-menu" aria-labelledby="navbarDropdownMenuLink">
- <a class="dropdown-item" href="/transactions">All Transactions</a>
- <a class="dropdown-item" href="/chart">Spending chart</a>
- <a class="dropdown-item" href="/balance">Balance</a>
+ <a class="dropdown-item" href="/transactions/{{ account_name }}">All Transactions</a>
+ <a class="dropdown-item" href="/chart/{{ account_name }}">Spending chart</a>
+ <a class="dropdown-item" href="/balance/{{ account_name }}">Balance</a>
</div>
</li>
<li class="nav-item dropdown active">
@@ -68,7 +68,7 @@
<div class="container">
<h1>Spending Chart <small class="text-muted">{{ account_name }}</small></h1>
<div style="text-align:center; margin: auto; width:100%">
- <form method="get" action="/chart"><input type="month" id="start" name="start" value="{{ date_start }}"> to <input type="month" id="end" name="end" value="{{ date_end }}">
+ <form method="get" action="/chart/{{ account_name }}"><input type="month" id="start" name="start" value="{{ date_start }}"> to <input type="month" id="end" name="end" value="{{ date_end }}">
<input type="submit" value="Show" class="btn btn-light">
</form>
</div>