summaryrefslogtreecommitdiff
path: root/management/editor/elements.go
diff options
context:
space:
mode:
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",