package form import "fmt" func (f *field) isCheckbox() bool { return f.Type == "checkbox" } func (f *field) optionAttributes() templ.Attributes { attrs := make(map[string]any) for _, o := range f.Options { attrs[o] = true } return templ.Attributes(attrs) } templ (f *field) item(errors []string) {
for _, e := range errors {

{e}

}
}