{{ block switch(id, name, value, label, checked, disabled=false) }}
{{ end }}
{{ block checkbox(id, name, value, label, checked, disabled=false) }}
{{ end }}
{{ block radio(id, name, value, label, checked, disabled=false) }}
{{ end }}
{{ block radios(name, values, labels, checked) }}
{{ labels = choose(labels, values) }}
{{ range i, v := values }}
{{ end }}
{{ end }}
{{ block select(name, values, labels, selected, dt) }}
{{ labels = choose(labels, values) }}
{{ end }}
{{ block option(value, label="", selected) }}
{{ end }}
{{ block options(name, items)}}
{{ n := replace(name, ".", "-", -1) }}
{{ end }}
{{ block options_table(name, items)}}
{{ n := replace(name, ".", "-", -1) }}
{{ end }}
{{ block form_submit(url) }}
{{ end }}