From 10eb82c7c00a0a1a75528644fbfbe108a769207f Mon Sep 17 00:00:00 2001 From: Vidhu Kant Sharma Date: Fri, 11 Nov 2022 22:57:19 +0530 Subject: serving created invoices as both HTML and JSON --- web/templates/partials/item_list.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'web/templates/partials/item_list.html') 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" }}
- {{ range .Items }} + {{ range . }} {{ template "partials/item.html" .}} {{ end }}
-- cgit v1.2.3