diff -r 65b60f177eb1 -r 2c80b09d8d86 web/widgets.py
--- a/web/widgets.py Mon May 04 12:55:00 2009 +0200
+++ b/web/widgets.py Mon May 04 13:09:48 2009 +0200
@@ -144,14 +144,15 @@
def render_help(self, entity):
"""render a help message about the (edited) field"""
req = entity.req
- help = [u'
']
+ help = [u'
']
descr = self.description or self.rschema.rproperty(self.subjtype, self.objtype, 'description')
if descr:
- help.append(u'%s' % req._(descr))
+ help.append(u'%s' % req._(descr))
example = self.render_example(req)
if example:
- help.append(u'(%s: %s)'
+ help.append(u'(%s: %s)'
% (req._('sample format'), example))
+ help.append(u'
')
return u' '.join(help)
def render_example(self, req):
@@ -750,14 +751,15 @@
def render_help(self, entity):
"""calendar popup widget"""
req = entity.req
- help = [ u'
' ]
+ help = [ u'' ]
descr = self.rschema.rproperty(self.subjtype, self.objtype, 'description')
if descr:
- help.append('%s' % req._(descr))
+ help.append('%s' % req._(descr))
example = self.render_example(req)
if example:
- help.append('(%s: %s)'
+ help.append('(%s: %s)'
% (req._('sample format'), example))
+ help.append(u'
')
return u' '.join(help)
def render_calendar_popup(self, entity):