diff --git a/docs/fields/index.html b/docs/fields/index.html
index 3b4615e..f144f3a 100644
--- a/docs/fields/index.html
+++ b/docs/fields/index.html
@@ -12,7 +12,7 @@
Fields – deblan/go-form
+Checkbox DocExample func NewFieldCheckbox(name string) *Field package main import ( "fmt" "html/template" "strings" "gitnet.fr/deblan/go-form/form" "gitnet.fr/deblan/go-form/theme" ) func main() { field := form.NewFieldCheckbox("Foo") r(form.NewForm(field)) } func r(f *form.Form) { render := theme.NewRenderer(theme.Html5) tpl, _ := template.New("example").Funcs(render.FuncMap()).Parse() b := new(strings.Builder) tpl.Execute(b, map[string]any{"Form": f}) fmt.Println(b.String()) } Run Try it yourself ↗ Share ↗ Generates an input[type=checkbox]" />
@@ -21,12 +21,12 @@ Checkbox DocExample func NewFieldCheckbox(name string) *Field import ( "fmt&
-
+Checkbox DocExample func NewFieldCheckbox(name string) *Field package main import ( "fmt" "html/template" "strings" "gitnet.fr/deblan/go-form/form" "gitnet.fr/deblan/go-form/theme" ) func main() { field := form.NewFieldCheckbox("Foo") r(form.NewForm(field)) } func r(f *form.Form) { render := theme.NewRenderer(theme.Html5) tpl, _ := template.New("example").Funcs(render.FuncMap()).Parse() b := new(strings.Builder) tpl.Execute(b, map[string]any{"Form": f}) fmt.Println(b.String()) } Run Try it yourself ↗ Share ↗ Generates an input[type=checkbox]">
+
+Checkbox DocExample func NewFieldCheckbox(name string) *Field package main import ( "fmt" "html/template" "strings" "gitnet.fr/deblan/go-form/form" "gitnet.fr/deblan/go-form/theme" ) func main() { field := form.NewFieldCheckbox("Foo") r(form.NewForm(field)) } func r(f *form.Form) { render := theme.NewRenderer(theme.Html5) tpl, _ := template.New("example").Funcs(render.FuncMap()).Parse() b := new(strings.Builder) tpl.Execute(b, map[string]any{"Form": f}) fmt.Println(b.String()) } Run Try it yourself ↗ Share ↗ Generates an input[type=checkbox]">
@@ -499,6 +499,8 @@ Checkbox DocExample func NewFieldCheckbox(name string) *Field import ( "fmt&
class="hextra-tabs-panel hx-rounded hx-pt-6 hx-hidden data-[state=selected]:hx-block"
id="tabs-panel-1"
role="tabpanel">
+package main
+
import (
"fmt"
"html/template"
@@ -522,13 +524,13 @@ func r(f *form.Form) {
fmt.Println(b.String())
}
-
+
-
-