raven/views/item/list.html

14 lines
275 B
HTML

{{ template "layout_header" . }}
<p><a href="/item/create">Create new item</a></p>
<ul>
{{ range .inventory }}
<li>{{ .name }}</li>
{{ else }}
<p>There are currently no items registered in your inventory.</p>
{{ end }}
</ul>
{{ template "layout_footer" . }}