need to cleanup values if we don't want them to be interpreted by fields (title is a common field name for instance)
--- a/web/formrenderers.py Wed May 27 15:00:38 2009 +0200
+++ b/web/formrenderers.py Wed May 27 15:01:15 2009 +0200
@@ -456,6 +456,9 @@
'#<span class="icounter">1</span> '
'[<a href="javascript: %(removejs)s;noop();">%(removemsg)s</a>]</div>'
% values)
+ # cleanup values
+ for key in ('title', 'removejs', 'removemsg'):
+ values.pop(key)
self.render_fields(w, form, values)
w(u'</div></div>')
return '\n'.join(data)