added children db, simple render

This commit is contained in:
sm
2013-03-04 21:56:39 -08:00
parent 9a917e98a5
commit 200f109e19
3 changed files with 28 additions and 2 deletions
+8 -1
View File
@@ -2,6 +2,13 @@
{{ define "content" }}
<div class="container pw">
This will have stuff
This will have stuff {{ .children }}
<ul>
{{ range .children }}
<li>
{{ .Name }} {{ .Money }}
</li>
{{ end }}
</ul>
</div>
{{ end }}