Fix link to account

This commit is contained in:
Jan Bader 2021-12-04 23:57:09 +00:00
parent 779733e0ab
commit 21db0fb3aa

View File

@ -10,7 +10,7 @@
{{define "main"}} {{define "main"}}
{{range .Accounts}} {{range .Accounts}}
<div class="budget-item"> <div class="budget-item">
<a href="/budget/:budgetid/account/{{.ID}}">{{.Name}}</a> <a href="/budget/{{$.Budget.ID}}/account/{{.ID}}">{{.Name}}</a>
<span class="time">{{printf "%.2f" .Balance.GetFloat64}}</span> <span class="time">{{printf "%.2f" .Balance.GetFloat64}}</span>
</div> </div>
{{end}} {{end}}