--- a/web/views/formrenderers.py Fri Aug 21 16:26:20 2009 +0200
+++ b/web/views/formrenderers.py Wed Aug 26 14:45:56 2009 +0200
@@ -109,7 +109,7 @@
if example:
help.append('<div class="helper">(%s: %s)</div>'
% (self.req._('sample format'), example))
- return u' '.join(help)
+ return u' '.join(help)
# specific methods (mostly to ease overriding) #############################
@@ -130,7 +130,7 @@
if len(errors) > 1:
templstr = '<li>%s</li>\n'
else:
- templstr = ' %s\n'
+ templstr = ' %s\n'
for field, err in errors:
if field is None:
errormsg += templstr % err
@@ -284,7 +284,7 @@
if self.display_help:
w(self.render_help(form, field))
# empty slot for buttons
- w(u'<th class="labelCol"> </th>')
+ w(u'<th class="labelCol"> </th>')
w(u'</tr>')
w(u'<tr>')
for field in fields:
@@ -441,7 +441,7 @@
w(u'</tr>')
pendings = list(form.restore_pending_inserts())
if not pendings:
- w(u'<tr><th> </th><td> </td></tr>')
+ w(u'<tr><th> </th><td> </td></tr>')
else:
for row in pendings:
# soon to be linked to entities
@@ -519,7 +519,7 @@
w(u'<a class="addEntity" id="add%s:%slink" href="javascript: %s" >+ %s.</a>'
% (rschema, entity.eid, js, __('add a %s' % targettype)))
w(u'</div>')
- w(u'<div class="trame_grise"> </div>')
+ w(u'<div class="trame_grise"> </div>')
w(u'</div>')