web/component.py
branchstable
changeset 3750 b7fa3d93640a
parent 3607 a7c5e62c7e00
child 3777 3ef8cdb5fb1c
child 3840 2eff4348b1e4
--- a/web/component.py	Tue Oct 20 13:54:40 2009 +0200
+++ b/web/component.py	Tue Oct 20 16:21:30 2009 +0200
@@ -175,7 +175,8 @@
         if not rset.rowcount:
             return
         self.w(u'<div class="%s">' % self.div_class())
-        self.wview(self.vid, rset, title=self.req._(self.title).capitalize())
+        self.w(u'<h4>%s</h4>\n' % self.req._(self.title).capitalize())
+        self.wview(self.vid, rset)
         self.w(u'</div>')