web/component.py
changeset 3777 3ef8cdb5fb1c
parent 3629 559cad62c786
parent 3750 b7fa3d93640a
child 3890 d7a270f50f54
--- a/web/component.py	Mon Oct 19 20:22:01 2009 +0200
+++ b/web/component.py	Wed Oct 21 17:32:20 2009 +0200
@@ -173,7 +173,8 @@
         if not rset.rowcount:
             return
         self.w(u'<div class="%s">' % self.div_class())
-        self.wview(self.vid, rset, title=self._cw._(self.title).capitalize())
+        self.w(u'<h4>%s</h4>\n' % self._cw._(self.title).capitalize())
+        self.wview(self.vid, rset)
         self.w(u'</div>')