web/views/primary.py
branchstable
changeset 5182 3bc8250731fe
parent 5180 25c3269b2232
child 5222 ed6905d98a5e
--- a/web/views/primary.py	Thu Apr 08 09:49:00 2010 +0200
+++ b/web/views/primary.py	Thu Apr 08 10:00:22 2010 +0200
@@ -130,7 +130,7 @@
                 display_attributes.append( (rschema, role, dispctrl, value) )
         if display_attributes:
             self.w(u'<table>')
-            for rschema, role, dispctrl, value in entity_attributes:
+            for rschema, role, dispctrl, value in display_attributes:
                 try:
                     self._render_attribute(dispctrl, rschema, value,
                                            role=role, table=True)