fixe the wrong indent
authorKatia Saurfelt <katia.saurfelt@logilab.fr>
Thu, 23 Apr 2009 12:16:16 +0200
changeset 1457 89567fcc6b15
parent 1456 998ff29c3390
child 1460 6520efef1824
child 1494 d68aac1cda0d
child 1594 3ba1a95b090f
fixe the wrong indent
web/views/baseviews.py
--- 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"""