# HG changeset patch # User Sylvain Thénault # Date 1270713622 -7200 # Node ID 3bc8250731fe6fdd1ba14a7f5568ed0e0597437b # Parent f34ee58fdfc8831cae6a31b02c8f40668b0938a9 [primary] fix name error diff -r f34ee58fdfc8 -r 3bc8250731fe web/views/primary.py --- 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'') - 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)