{{define "head"}} {{option .Meta "page_title"}} {{end}} {{define "void"}}{{end}} {{define "detail"}}{{detail .}}{{end}} {{define "option"}}{{option .}}{{end}} {{define "append"}}{{append .}}{{end}} {{define "result"}}{{result .}}{{end}} {{define "clipboard"}}
clipboard
{{end}} {{define "upload"}}
clipboard
{{end}} {{define "componet"}}
{{option .Meta "help"}}({{option .Meta "command"}}.{{option .Meta "context"}}) {{$form_type := option . "form_type"|meta}}
{{range $index, $input := option . "inputs"}}
{{$type := index $input "type"}} {{if eq $type "button"}} {{else if eq $type "submit"}} {{else if eq $type "file"}} {{else if eq $type "choice"}} {{$default_value := index $input "value"}} {{else}} {{end}}
{{end}}
{{if index .Meta "display_append"}} {{option .Meta "display_append"}} {{else}} {{$msg := .}} {{range $field := append .}}{{end}} {{range $line := table .}} {{range $field := append $msg}}{{end}} {{end}}
{{$field}}
{{index $line $field|unescape}}
{{end}} {{if index .Meta "display_result"}} {{option .Meta "display_result"}} {{else}}
{{result .Meta}}
{{end}}
{{end}} {{define "tail"}} {{end}}