aboutsummaryrefslogtreecommitdiff
path: root/example
diff options
context:
space:
mode:
authorShulhan <ms@kilabit.info>2021-09-28 10:48:31 +0700
committerShulhan <ms@kilabit.info>2021-09-28 10:48:31 +0700
commitde9cacfa2af7101d00376f49f55081f5e97d383e (patch)
treef4621b5e032af07851a1731ab7a4e9791a79e59e /example
parentfd4d95b0b0a5b53e16b500ce589b0d45926372a9 (diff)
downloadgorankusu-de9cacfa2af7101d00376f49f55081f5e97d383e.tar.xz
www: group related fields to use fieldset instead of header
Currently we are experimenting changing the layout for grouping input fields from flat layout into fieldset, so user can see more separation between each sub-section.
Diffstat (limited to 'example')
-rw-r--r--example/example.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/example/example.go b/example/example.go
index bc6d9f6..963f7e0 100644
--- a/example/example.go
+++ b/example/example.go
@@ -166,6 +166,7 @@ func (ex *Example) registerTargets() (err error) {
Vars: trunks.KeyFormInput{
"A": trunks.FormInput{
Label: "A",
+ Hint: "This is the global variabel for all HTTP targets below.",
Kind: trunks.FormInputKindNumber,
Value: "1",
},