summaryrefslogtreecommitdiff
path: root/management/editor/elements.go
diff options
context:
space:
mode:
authorSteve <nilslice@gmail.com>2016-12-22 23:12:59 -0800
committerGitHub <noreply@github.com>2016-12-22 23:12:59 -0800
commit5bde98ba1e2836de44c311b453ae9649deb685bd (patch)
treedbac01d4f6afb7473fabf6fbc9a649fc72a1a051 /management/editor/elements.go
parent02b396de26ca7f58b8e8134fbaa098f5af49b911 (diff)
parent29959dc55482b04388bc0c8a426650215ac3d5b2 (diff)
Merge pull request #25 from ponzu-cms/ponzu-dev
[core] Repeatable form input elements
Diffstat (limited to 'management/editor/elements.go')
-rw-r--r--management/editor/elements.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/management/editor/elements.go b/management/editor/elements.go
index 9b35c65..873e81c 100644
--- a/management/editor/elements.go
+++ b/management/editor/elements.go
@@ -15,7 +15,7 @@ import (
// }
//
// func (p *Person) MarshalEditor() ([]byte, error) {
-// view, err := Form(p,
+// view, err := editor.Form(p,
// editor.Field{
// View: editor.Input("Name", p, map[string]string{
// "label": "Name",
@@ -325,7 +325,7 @@ func Checkbox(fieldName string, p interface{}, attrs, options map[string]string)
}
}
- // create a *element manually using the maodified tagNameFromStructFieldMulti
+ // create a *element manually using the modified tagNameFromStructFieldMulti
// func since this is for a multi-value name
input := &element{
TagName: "input",