summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Manuel <nilslice@gmail.com>2016-10-25 13:05:12 -0700
committerSteve Manuel <nilslice@gmail.com>2016-10-25 13:05:12 -0700
commitc81783e87070340701a818eaae59f2304f982f3f (patch)
treee255fdf6dc7c923bd06a5b643c5094e8441ca17b
parentcb8728204756bd14a4a43d4962af85f4ed59bc09 (diff)
add fix for multi-word classes
-rw-r--r--management/editor/elements.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/management/editor/elements.go b/management/editor/elements.go
index 161ac88..2326358 100644
--- a/management/editor/elements.go
+++ b/management/editor/elements.go
@@ -353,7 +353,7 @@ func Tags(fieldName string, p interface{}, attrs map[string]string) []byte {
i := 0
for _, tag := range tags {
tagName := tagNameFromStructFieldMulti(fieldName, i, p)
- html += `<input type="hidden" class="tag-` + tag + `" name=` + tagName + ` value="` + tag + `"/>`
+ html += `<input type="hidden" class="tag ` + tag + `" name=` + tagName + ` value="` + tag + `"/>`
initial = append(initial, `{tag: '`+tag+`'}`)
i++
}