Versions in this module Expand all Collapse all v1 v1.2.1 Oct 4, 2014 v1.1.1 Sep 14, 2014 Changes in this version + const DATETIME_FORMAT + const DATE_FORMAT + const TIME_FORMAT + type ChoiceIndex struct + Group string + Index int + type Field struct + AppendData map[string]interface{} + Widget widgets.WidgetInterface + func Button(name string, text string) *Field + func Checkbox(name string, checked bool) *Field + func CheckboxField(name string, choices []InputChoice) *Field + func CheckboxFieldFromInstance(i interface{}, fieldNo int, name string) *Field + func CheckboxFromInstance(i interface{}, fieldNo int, name string, options map[string]struct{}) *Field + func DateField(name string) *Field + func DateFieldFromInstance(i interface{}, fieldNo int, name string) *Field + func DatetimeField(name string) *Field + func DatetimeFieldFromInstance(i interface{}, fieldNo int, name string) *Field + func FieldWithType(name, t string) *Field + func HiddenField(name string) *Field + func HiddenFieldFromInstance(i interface{}, fieldNo int, name string) *Field + func NumberField(name string) *Field + func NumberFieldFromInstance(i interface{}, fieldNo int, name string) *Field + func PasswordField(name string) *Field + func PasswordFieldFromInstance(i interface{}, fieldNo int, name string) *Field + func RadioField(name string, choices []InputChoice) *Field + func RadioFieldFromInstance(i interface{}, fieldNo int, name string) *Field + func RangeField(name string, min, max, step int) *Field + func RangeFieldFromInstance(i interface{}, fieldNo int, name string) *Field + func ResetButton(name string, text string) *Field + func SelectField(name string, choices map[string][]InputChoice) *Field + func SelectFieldFromInstance(i interface{}, fieldNo int, name string, options map[string]struct{}) *Field + func StaticField(name, content string) *Field + func StaticFieldFromInstance(i interface{}, fieldNo int, name string) *Field + func SubmitButton(name string, text string) *Field + func TextAreaField(name string, rows, cols int) *Field + func TextAreaFieldFromInstance(i interface{}, fieldNo int, name string) *Field + func TextField(name string) *Field + func TextFieldFromInstance(i interface{}, fieldNo int, name string) *Field + func TimeField(name string) *Field + func TimeFieldFromInstance(i interface{}, fieldNo int, name string) *Field + func (f *Field) AddClass(class string) FieldInterface + func (f *Field) AddCss(key, value string) FieldInterface + func (f *Field) AddError(err string) FieldInterface + func (f *Field) AddLabelClass(class string) FieldInterface + func (f *Field) AddSelected(opt ...string) FieldInterface + func (f *Field) AddTag(tag string) FieldInterface + func (f *Field) DeleteParam(key string) FieldInterface + func (f *Field) Disabled() FieldInterface + func (f *Field) Enabled() FieldInterface + func (f *Field) MultipleChoice() FieldInterface + func (f *Field) Name() string + func (f *Field) RemoveClass(class string) FieldInterface + func (f *Field) RemoveCss(key string) FieldInterface + func (f *Field) RemoveLabelClass(class string) FieldInterface + func (f *Field) RemoveSelected(opt string) FieldInterface + func (f *Field) RemoveTag(tag string) FieldInterface + func (f *Field) Render() template.HTML + func (f *Field) SetChoices(choices interface{}) FieldInterface + func (f *Field) SetData(key string, value interface{}) + func (f *Field) SetHelptext(text string) FieldInterface + func (f *Field) SetId(id string) FieldInterface + func (f *Field) SetLabel(label string) FieldInterface + func (f *Field) SetParam(key, value string) FieldInterface + func (f *Field) SetStyle(style string) FieldInterface + func (f *Field) SetText(text string) FieldInterface + func (f *Field) SetTmpl(style, tmpl string) FieldInterface + func (f *Field) SetValue(value string) FieldInterface + func (f *Field) SingleChoice() FieldInterface + func (f *Field) String() string + type FieldInterface interface + AddClass func(class string) FieldInterface + AddCss func(key, value string) FieldInterface + AddError func(err string) FieldInterface + AddLabelClass func(class string) FieldInterface + AddSelected func(opt ...string) FieldInterface + AddTag func(class string) FieldInterface + DeleteParam func(key string) FieldInterface + Disabled func() FieldInterface + Enabled func() FieldInterface + MultipleChoice func() FieldInterface + Name func() string + RemoveClass func(class string) FieldInterface + RemoveCss func(key string) FieldInterface + RemoveLabelClass func(class string) FieldInterface + RemoveSelected func(opt string) FieldInterface + RemoveTag func(class string) FieldInterface + Render func() template.HTML + SetChoices func(choices interface{}) FieldInterface + SetData func(key string, value interface{}) + SetHelptext func(text string) FieldInterface + SetId func(id string) FieldInterface + SetLabel func(label string) FieldInterface + SetParam func(key, value string) FieldInterface + SetStyle func(style string) FieldInterface + SetText func(text string) FieldInterface + SetTmpl func(style, tmpl string) FieldInterface + SetValue func(value string) FieldInterface + SingleChoice func() FieldInterface + String func() string + type InputChoice struct + Checked bool + Id string + Val string