diff options
-rw-r--r-- | management/editor/elements.go | 2 |
1 files changed, 1 insertions, 1 deletions
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 |