Extract amount template
This commit is contained in:
@ -9,7 +9,7 @@
|
||||
{{range .Accounts}}
|
||||
<li>
|
||||
<a href="/budget/{{$.Budget.ID}}/account/{{.ID}}">{{.Name}}</a>
|
||||
<span class="right">{{printf "%.2f" .Balance.GetFloat64}}</span>
|
||||
{{template "amount" .Balance}}
|
||||
</li>
|
||||
{{end}}
|
||||
<li>
|
||||
|
Reference in New Issue
Block a user