using table to render info

This commit is contained in:
Stephen McQuay 2013-03-05 22:40:17 -08:00
parent cd668ea8dc
commit b0cda81247
1 changed files with 18 additions and 5 deletions

View File

@ -2,13 +2,26 @@
{{ define "content" }}
<div class="container pw">
This will have stuff {{ .children }}
<ul>
<table class="table table-striped table-bordered table-hover">
<tr>
<td>
Name
</td>
<td>
Amount
</td>
</tr>
{{ range .children }}
<li>
{{ .Name }} {{ .Money }}
</li>
<tr>
<td>
{{ .Name }}
</td>
<td>
{{ .Money }}
</td>
</tr>
{{ end }}
</ul>
</table>
</div>
{{ end }}