Commit 301c58f6 authored by Sylvain Thénault's avatar Sylvain Thénault
Browse files

dumb error

parent e7baf841f67a
...@@ -25,8 +25,7 @@ class PersonPrimaryView(primary.PrimaryView): ...@@ -25,8 +25,7 @@ class PersonPrimaryView(primary.PrimaryView):
__select__ = implements('Person') __select__ = implements('Person')
def render_entity_title(self, entity): def render_entity_title(self, entity):
title = xml_escape(entity.dc_title()) self.w(u'<h1>%s</h1>' % xml_escape(
self.w(u'<h1>%s</h1>' %
def render_entity_attributes(self, entity): def render_entity_attributes(self, entity):
if getattr(entity, 'phone', None): if getattr(entity, 'phone', None):
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment