web/views/baseviews.py
changeset 1457 89567fcc6b15
parent 1456 998ff29c3390
child 1477 b056a49c16dc
child 1598 8f400d5f6742
--- a/web/views/baseviews.py	Thu Apr 23 11:47:26 2009 +0200
+++ b/web/views/baseviews.py	Thu Apr 23 12:16:16 2009 +0200
@@ -168,7 +168,7 @@
         self.content_navigation_components('navcontenttop')
         if self.main_related_section:
             self.render_entity_relations(entity, siderelations)
-            self.w(u'</div>')
+        self.w(u'</div>')
         if boxes:
             self.w(u'</td><td>')
             # side boxes
@@ -333,7 +333,6 @@
                 value +=  '</div>'
         label = display_name(self.req, rschema.type, role)
         self.field(label, value, show_label=show_label, w=self.w, tr=False)
-        print '_render', entity
         
 class SideBoxView(EntityView):
     """side box usually displaying some related entities in a primary view"""