Commit 5458fb16 authored by Jérome Perrin's avatar Jérome Perrin

Update WebSite_createWebSiteAccount "form_id"

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@15484 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 3062d0ad
...@@ -69,7 +69,7 @@ ...@@ -69,7 +69,7 @@
<item> <item>
<key> <string>_body</string> </key> <key> <string>_body</string> </key>
<value> <string>"""\n <value> <string>"""\n
This script is a sample script sceleton (part of erp5_web)\n This script is a sample script skeleton (part of erp5_web)\n
which can be used to create user (Person object) \n which can be used to create user (Person object) \n
\n \n
Notes:\n Notes:\n
...@@ -82,7 +82,7 @@ ...@@ -82,7 +82,7 @@
from Products.Formulator.Errors import ValidationError, FormValidationError\n from Products.Formulator.Errors import ValidationError, FormValidationError\n
\n \n
# validate form manually\n # validate form manually\n
form = context.WebSite_createWebSiteAccountForm\n form = context.WebSite_viewRegistrationDialog\n
try:\n try:\n
form.validate_all_to_request(context.REQUEST)\n form.validate_all_to_request(context.REQUEST)\n
except (FormValidationError, ValidationError,), validation_errors:\n except (FormValidationError, ValidationError,), validation_errors:\n
......
570 571
\ No newline at end of file \ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment