web/views/editforms.py
changeset 2390 c0d09a4ca3dc
parent 2389 c399bd6a9c38
child 2458 4d114865098f
--- 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&nbsp;' % (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>')