diff options
author | Vidhu Kant Sharma <vidhukant@vidhukant.xyz> | 2022-11-11 22:57:19 +0530 |
---|---|---|
committer | Vidhu Kant Sharma <vidhukant@vidhukant.xyz> | 2022-11-11 22:57:19 +0530 |
commit | 10eb82c7c00a0a1a75528644fbfbe108a769207f (patch) | |
tree | ac5d413830d8e1f15985450230fe20490966fcb6 /web/templates/partials/item_list.html | |
parent | 2f4a92b0f1d02096427a2d1c97746bb52cdcc38a (diff) |
serving created invoices as both HTML and JSON
Diffstat (limited to 'web/templates/partials/item_list.html')
-rw-r--r-- | web/templates/partials/item_list.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/web/templates/partials/item_list.html b/web/templates/partials/item_list.html index f12a34a..6fdd1f9 100644 --- a/web/templates/partials/item_list.html +++ b/web/templates/partials/item_list.html @@ -1,6 +1,6 @@ -{{ define "partials/item_list.html.tmpl" }} +{{ define "partials/item_list.html" }} <div class="items"> - {{ range .Items }} + {{ range . }} {{ template "partials/item.html" .}} {{ end }} </div> |