web/views/baseforms.py
branchtls-sprint
changeset 772 97b2b582e7f7
parent 765 8fda14081686
child 781 323656dd85a9
--- a/web/views/baseforms.py	Wed Feb 18 11:41:35 2009 +0100
+++ b/web/views/baseforms.py	Wed Feb 18 11:46:03 2009 +0100
@@ -216,12 +216,12 @@
     dynamic default values such as the 'tomorrow' date or the user's login
     being connected
     """    
+    id = 'edition'
     __select__ = one_line_rset() & implements('Any')
 
-    id = 'edition'
     title = _('edition')
     controller = 'edit'
-    skip_relations = EntityView.skip_relations.copy()
+    skip_relations = FormMixIn.skip_relations.copy()
     
     EDITION_BODY = u'''\
  %(errormsg)s