author | Sylvain Thénault <sylvain.thenault@logilab.fr> |
Thu, 30 Sep 2010 15:35:01 +0200 | |
changeset 6371 | 9af007a3acb9 |
parent 6370 | 8c3d6f739fa3 |
child 6373 | 41793f2718ce |
--- a/web/views/primary.py Thu Sep 30 15:00:40 2010 +0200 +++ b/web/views/primary.py Thu Sep 30 15:35:01 2010 +0200 @@ -143,7 +143,7 @@ if display_attributes: self.w(u'<table>') for rschema, role, dispctrl, value in display_attributes: - if support_args(self._render_attribute, 'label'): + if not hasattr(self, '_render_attribute'): label = self._rel_label(entity, rschema, role, dispctrl) self.render_attribute(label, value, table=True) elif support_args(self._render_attribute, 'dispctrl'):