allowances/templates/index.html

28 lines
640 B
HTML
Raw Normal View History

{{ define "title" }}Welcome{{ end }}
{{ define "content" }}
<div class="container pw">
2013-03-05 22:40:17 -08:00
<table class="table table-striped table-bordered table-hover">
<tr>
<td>
Name
</td>
<td>
Amount
</td>
</tr>
2013-03-04 21:56:39 -08:00
{{ range .children }}
2013-03-05 22:40:17 -08:00
<tr>
<td>
{{ .Name }}
</td>
<td>
2013-03-05 22:54:29 -08:00
{{ dollarize .Money }}
2013-03-05 22:40:17 -08:00
</td>
</tr>
2013-03-04 21:56:39 -08:00
{{ end }}
</ul>
2013-03-05 22:40:17 -08:00
</table>
</div>
{{ end }}