From e4c4136071d80ec9280df2d6fa39f4d9083c060c Mon Sep 17 00:00:00 2001 From: Steve Manuel Date: Wed, 30 Nov 2016 00:40:50 -0800 Subject: testing built-in type support beyond string/[]string for content types --- management/editor/elements.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/management/editor/elements.go b/management/editor/elements.go index e76c606..27069d8 100644 --- a/management/editor/elements.go +++ b/management/editor/elements.go @@ -291,7 +291,7 @@ func Select(fieldName string, p interface{}, attrs, options map[string]string) [ // form of the struct field that this editor input is representing func Checkbox(fieldName string, p interface{}, attrs, options map[string]string) []byte { attrs["class"] = "input-field col s12" - div := newElement("div", attrs["label"], "", p, attrs) + div := newElement("div", attrs["label"], fieldName, p, attrs) var opts []*element -- cgit v1.2.3