Index: openacs-4/packages/acs-templating/www/doc/demo/list6/add-edit.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-templating/www/doc/demo/list6/add-edit.tcl,v diff -u -r1.1 -r1.2 --- openacs-4/packages/acs-templating/www/doc/demo/list6/add-edit.tcl 10 Feb 2006 00:47:17 -0000 1.1 +++ openacs-4/packages/acs-templating/www/doc/demo/list6/add-edit.tcl 12 Feb 2006 00:41:24 -0000 1.2 @@ -63,7 +63,7 @@ } -edit_request { - permission::require_permission -object_id $note_id -privilege write + permission::require_permission -object_id $template_demo_note_id -privilege write # Customize the page title to reflect the fact that this form is used to # edit an existing note. @@ -87,7 +87,8 @@ # Generate the new object automatically from the data set in the form. Standard # acs_object attributes like creation_user are set automatically. - package_instantiate_object -var_list [list [list context_id $package_id]] \ + package_instantiate_object \ + -var_list [list [list context_id $package_id]] \ -form_id add-edit \ template_demo_note