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" }} {{ define "content" }}
<div class="container pw"> <div class="container pw">
This will have stuff {{ .children }} <table class="table table-striped table-bordered table-hover">
<ul> <tr>
<td>
Name
</td>
<td>
Amount
</td>
</tr>
{{ range .children }} {{ range .children }}
<li> <tr>
{{ .Name }} {{ .Money }} <td>
</li> {{ .Name }}
</td>
<td>
{{ .Money }}
</td>
</tr>
{{ end }} {{ end }}
</ul> </ul>
</table>
</div> </div>
{{ end }} {{ end }}