diff options
author | Steve Manuel <nilslice@gmail.com> | 2016-11-30 00:40:50 -0800 |
---|---|---|
committer | Steve Manuel <nilslice@gmail.com> | 2016-11-30 00:40:50 -0800 |
commit | e4c4136071d80ec9280df2d6fa39f4d9083c060c (patch) | |
tree | afde7ba3e3ec5c97298b125e1d98a246325a13fd /management/editor/elements.go | |
parent | 0ca4c6f38528a41e0d3e2c8ca6df23351b9aa187 (diff) |
testing built-in type support beyond string/[]string for content types
Diffstat (limited to 'management/editor/elements.go')
-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 |