From 259f2f4b79e53325c94b0428e7e81444b280fefc Mon Sep 17 00:00:00 2001 From: Zeni Kim Date: Thu, 27 Mar 2025 12:41:17 -0500 Subject: [PATCH] add img and class to table template --- template/components/content_table.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/template/components/content_table.html b/template/components/content_table.html index 656e7e0..36f9b8b 100644 --- a/template/components/content_table.html +++ b/template/components/content_table.html @@ -7,7 +7,7 @@ {{- range .AllTD}} - {{range $index, $item := .}} + {{range $index, $item := .}} {{ with $x := index $.AllTH $index }} {{ if eq $x.ValueType "href"}} {{template "content_href" $item.Value}} @@ -18,7 +18,7 @@ {{ else if eq $x.ValueType "checkbox"}} {{template "form_checkbox" $item.Value}} {{ else if eq $x.ValueType "image"}} - + {{ else }} {{ $item.Value }} {{end}}