This is an automated email from the ASF dual-hosted git repository.
sebb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/whimsy.git
The following commit(s) were added to refs/heads/master by this push:
new 9843c37f Add multi-row example
9843c37f is described below
commit 9843c37fb788b400354aba26c36880a3aba3055b
Author: Sebb <[email protected]>
AuthorDate: Tue Jan 31 21:59:29 2023 +0000
Add multi-row example
---
www/test/example.cgi | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/www/test/example.cgi b/www/test/example.cgi
index 599cbcf2..c1f4ad62 100755
--- a/www/test/example.cgi
+++ b/www/test/example.cgi
@@ -50,7 +50,7 @@ def emit_form(title, prev_data)
helptext: 'Select as many values as ya like!'
)
field = 'text2'
- _whimsy_forms_input(label: 'Another Text Field', name: field, id: field,
+ _whimsy_forms_input(label: 'A multi-line Text Field', name: field, id:
field, rows: 10,
value: prev_data[field], helptext: 'Pretty boring form example, huh?'
)
_div.col_sm_offset_3.col_sm_9 do