Versions in this module Expand all Collapse all v0 v0.10.0 Jan 1, 2019 Changes in this version + func Checkbox(fieldName string, p interface{}, attrs, options map[string]string) []byte + func DOMElement(e *Element) []byte + func DOMElementCheckbox(e *Element) []byte + func DOMElementSelfClose(e *Element) []byte + func DOMElementWithChildrenCheckbox(e *Element, children []*Element) []byte + func DOMElementWithChildrenSelect(e *Element, children []*Element) []byte + func File(fieldName string, p interface{}, attrs map[string]string) []byte + func FileRepeater(fieldName string, p interface{}, attrs map[string]string) []byte + func Form(post Editable, fields ...Field) ([]byte, error) + func Input(fieldName string, p interface{}, attrs map[string]string) []byte + func InputRepeater(fieldName string, p interface{}, attrs map[string]string) []byte + func RepeatController(fieldName string, p interface{}, inputSelector, cloneSelector string) []byte + func Richtext(fieldName string, p interface{}, attrs map[string]string) []byte + func Select(fieldName string, p interface{}, attrs, options map[string]string) []byte + func SelectRepeater(fieldName string, p interface{}, attrs, options map[string]string) []byte + func TagNameFromStructField(name string, post interface{}) string + func TagNameFromStructFieldMulti(name string, i int, post interface{}) string + func Tags(fieldName string, p interface{}, attrs map[string]string) []byte + func Textarea(fieldName string, p interface{}, attrs map[string]string) []byte + func Timestamp(fieldName string, p interface{}, attrs map[string]string) []byte + func ValueFromStructField(name string, post interface{}) string + type Editable interface + MarshalEditor func() ([]byte, error) + type Editor struct + ViewBuf *bytes.Buffer + type Element struct + Attrs map[string]string + Data string + Label string + Name string + TagName string + ViewBuf *bytes.Buffer + func NewElement(tagName, label, fieldName string, p interface{}, attrs map[string]string) *Element + type Field struct + View []byte + type Mergeable interface + Approve func(http.ResponseWriter, *http.Request) error