package capture import ( "gitea.henriburau.de/haw-lan/cod4watcher/views/layouts" "gitea.henriburau.de/haw-lan/cod4watcher/views/components" ) type CaptureFormValues struct { Host string Port string Name string Active bool ValidateServer bool } templ CaptureForm(formValues CaptureFormValues, errors map[string]string) { @layouts.Base() { @components.Form(components.FormProps{ Title: "Create new capture", Action: "/new/capture", Method: "post", SubmitText: "Create capture", }) {