--- a/web/views/editforms.py Fri Jul 17 16:50:50 2009 +0200
+++ b/web/views/editforms.py Fri Jul 17 19:48:04 2009 +0200
@@ -183,9 +183,10 @@
onclick=cancelclick)])
field = guess_field(entity.e_schema, entity.schema.rschema(rtype), role)
form.append_field(field)
- self.w(u'<div id="%s-reledit" class="field">%s ' % (divid, value))
+ self.w(u'<div id="%s-reledit" class="field">' % divid)
self.w(tags.div(lzone, klass='editableField', id=divid,
onclick=self._onclick % event_data))
+ self.w(value)
renderer = self._build_renderer(entity, rtype, role)
self.w(form.form_render(renderer=renderer))
self.w(u'</div>')