summaryrefslogtreecommitdiff
path: root/form/reflect.go
diff options
context:
space:
mode:
Diffstat (limited to 'form/reflect.go')
-rw-r--r--form/reflect.go12
1 files changed, 1 insertions, 11 deletions
diff --git a/form/reflect.go b/form/reflect.go
index 4dd4018..604c9e1 100644
--- a/form/reflect.go
+++ b/form/reflect.go
@@ -1,7 +1,6 @@
package form
import (
- "html/template"
"reflect"
"strings"
)
@@ -103,13 +102,6 @@ func (f *field) applyTags(tags map[string]string) {
if v, ok := tags["id"]; ok {
f.ID = v
}
- if v, ok := tags["footer"]; ok {
- // Probably shouldn't be HTML but whatever.
- f.Footer = template.HTML(v)
- }
- if v, ok := tags["class"]; ok {
- f.Class = v
- }
if v, ok := tags["options"]; ok {
f.Options = strings.Split(v, ",")
}
@@ -143,7 +135,5 @@ type field struct {
Type string
ID string
Options []string
- Value interface{}
- Footer template.HTML
- Class string
+ Value any
}
1/+796 2007-04-04showed masked packages unmasked by the user similar to stable marked testing ...necoro5-13/+40 2007-03-31changed changelognecoro1-1/+2 2007-03-31Some small changes for etcproposals 1.1necoro1-2/+2 2007-03-31Some small changes for etcproposals 1.1necoro2-3/+3 2007-03-31Some small changes for etcproposals 1.1necoro1-6/+13 2007-03-31Allowed Plugins to have a menunecoro7-201/+315 2007-03-15Added etc-proposals pluginnecoro7-28/+121 2007-03-10Added USE_EXPAND-supportnecoro5-11/+63 2007-03-10Added plugin-data to about-dialognecoro3-197/+264