the config struct type.
the input generator to use.
the javascript code to embed including script tag.
an existing config value to prefill the inputs.
extra HTML to put into the form.
Path to the form submit HTTP endpoint.
Method to use for the submit HTTP endpoint. Also replaces {method} inside the javascript template.
Path to the javascript form submit HTTP endpoint. Replaces {action} inside the javascript template. If empty then no js will be emitted.
Generates a HTML form for a configuration struct T with automatic instant updates using AJAX. The fields can be annotated with the various UDAs found in this module. (setting enums + structs)
Supported types: enum (drop down lists or radio box lists), std.typecons.BitFlags (checkbox lists), bool (checkbox), string types (text, email, url, etc.), numeric types (number), std.datetime.DateTime (datetime-local), std.datetime.Date (date), std.datetime.TimeOfDay (time), vibe.inet.URL (url), string[] (textarea taking each line)