allowances/templates/index.html

28 lines
630 B
HTML

{{ define "title" }}Welcome{{ end }}
{{ define "content" }}
<div class="container pw">
<table class="table table-striped table-bordered table-hover">
<tr>
<td>
Name
</td>
<td>
Amount
</td>
</tr>
{{ range .children }}
<tr>
<td>
{{ .Name }}
</td>
<td>
{{ .Money }}
</td>
</tr>
{{ end }}
</ul>
</table>
</div>
{{ end }}