web/views/cwproperties.py
changeset 3377 dd9d292b6a6d
parent 2650 18aec79ec3a3
child 3451 6b46d73823f5
--- a/web/views/cwproperties.py	Wed Sep 23 08:42:52 2009 +0200
+++ b/web/views/cwproperties.py	Wed Sep 23 09:29:39 2009 +0200
@@ -65,7 +65,7 @@
 
 class SystemCWPropertiesForm(FormViewMixIn, StartupView):
     """site-wide properties edition form"""
-    id = 'systempropertiesform'
+    __regid__ = 'systempropertiesform'
     __select__ = none_rset() & match_user_groups('managers')
 
     title = _('site configuration')
@@ -227,7 +227,7 @@
 
 class CWPropertiesForm(SystemCWPropertiesForm):
     """user's preferences properties edition form"""
-    id = 'propertiesform'
+    __regid__ = 'propertiesform'
     __select__ = (
         (none_rset() & match_user_groups('users','managers'))
         | (one_line_rset() & match_user_groups('users') & is_user_prefs())
@@ -360,7 +360,7 @@
 
 class CWPropertiesFormRenderer(formrenderers.FormRenderer):
     """specific renderer for properties"""
-    id = 'cwproperties'
+    __regid__ = 'cwproperties'
 
     def open_form(self, form, values):
         err = '<div class="formsg"></div>'