mixins.py
changeset 8900 010a59e12d89
parent 8190 2a3c1b787688
--- a/mixins.py	Tue Apr 23 15:16:36 2013 +0200
+++ b/mixins.py	Tue Apr 23 15:33:50 2013 +0200
@@ -236,7 +236,7 @@
         self.close_item(entity)
 
     def open_item(self, entity):
-        self.w(u'<li class="%s">\n' % entity.__regid__.lower())
+        self.w(u'<li class="%s">\n' % entity.cw_etype.lower())
     def close_item(self, entity):
         self.w(u'</li>\n')