# HG changeset patch # User Katia Saurfelt # Date 1242726246 -7200 # Node ID 9a02979a2c00fdb52232c3025c0d0e23453d694c # Parent c7a22540d6f7e0c3ab75e002172c44c2846d7785 do not use
in widgets diff -r c7a22540d6f7 -r 9a02979a2c00 web/formrenderers.py --- a/web/formrenderers.py Mon May 18 14:22:26 2009 +0200 +++ b/web/formrenderers.py Tue May 19 11:44:06 2009 +0200 @@ -83,13 +83,13 @@ return tags.label(label, **attrs) def render_help(self, form, field): - help = [ u'
' ] + help = [] descr = field.help if descr: - help.append('%s' % form.req._(descr)) + help.append('
%s
' % form.req._(descr)) example = field.example_format(form.req) if example: - help.append('(%s: %s)' + help.append('
(%s: %s)
' % (form.req._('sample format'), example)) return u' '.join(help)