Index: openacs-4/packages/acs-templating/www/doc/demo/list5/add-edit.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-templating/www/doc/demo/list5/add-edit.tcl,v diff -u -r1.3 -r1.4 --- openacs-4/packages/acs-templating/www/doc/demo/list5/add-edit.tcl 27 Oct 2014 16:40:20 -0000 1.3 +++ openacs-4/packages/acs-templating/www/doc/demo/list5/add-edit.tcl 7 Aug 2017 23:48:02 -0000 1.4 @@ -26,7 +26,7 @@ # The "note" object type's key - note_id:key + id:key # "title" is of type text and will use a "text" widget. @@ -42,6 +42,25 @@ {html {rows 10 cols 40}} } + {vitamins:text(checkbox) + {label "Vitamins"} + {options { + {Lettuce lettuce} + {" Tomato" tomato} + {"  Pickle" pickle} + {"   Sprouts" sprouts} + }} + } + + {action:text(select) + {label Action} + {options { + { "    aaa" a } + { "  bbb" b } + { "" c } + }} + } + } -new_request { # By convention packages only allow a user to create new objects if the user has @@ -121,3 +140,9 @@ # processing an "edit" request or a submitted form that contains errors. ad_return_template + +# Local variables: +# mode: tcl +# tcl-indent-level: 4 +# indent-tabs-mode: nil +# End: