--- a/web/widgets.py Tue Aug 25 19:42:19 2009 +0200
+++ b/web/widgets.py Tue Aug 25 22:57:47 2009 +0200
@@ -154,7 +154,7 @@
help.append(u'<span>(%s: %s)</span>'
% (req._('sample format'), example))
help.append(u'</div>')
- return u' '.join(help)
+ return u' '.join(help)
def render_example(self, req):
return u''
@@ -372,7 +372,7 @@
def _edit_render(self, entity):
html = super(PasswordWidget, self)._edit_render(entity)
name = eid_param(self.name + '-confirm', entity.eid)
- return u'%s<br/>\n<input type="%s" name="%s" id="%s" tabindex="%s"/> <span class="emphasis">(%s)</span>' % (
+ return u'%s<br/>\n<input type="%s" name="%s" id="%s" tabindex="%s"/> <span class="emphasis">(%s)</span>' % (
html, self.input_type, name, name, entity.req.next_tabindex(),
entity.req._('confirm password'))
@@ -662,7 +662,7 @@
res.append(u'</select>')
res.append(u'<div id="newvalue">')
res.append(u'<input type="text" id="newopt" />')
- res.append(u'<a href="javascript:noop()" id="add_newopt"> </a></div>')
+ res.append(u'<a href="javascript:noop()" id="add_newopt"> </a></div>')
return '\n'.join(res)
@@ -761,7 +761,7 @@
help.append('<span>(%s: %s)</span>'
% (req._('sample format'), example))
help.append(u'</div>')
- return u' '.join(help)
+ return u' '.join(help)
def render_calendar_popup(self, entity):
"""calendar popup widget"""