web/views/editforms.py
changeset 4053 7cc66b1d9183
parent 4046 93d69d5dd3fa
child 4082 c7117119e215
equal deleted inserted replaced
4052:0c39ffd789ed 4053:7cc66b1d9183
   203           % (divid, divid, divid))
   203           % (divid, divid, divid))
   204         w(u'<div id="%s-value" class="editableFieldValue">%s</div>' % (divid, value))
   204         w(u'<div id="%s-value" class="editableFieldValue">%s</div>' % (divid, value))
   205         w(form.render(renderer=renderer))
   205         w(form.render(renderer=renderer))
   206         w(u'<div id="%s" class="editableField hidden" onclick="%s" title="%s">' % (
   206         w(u'<div id="%s" class="editableField hidden" onclick="%s" title="%s">' % (
   207                 divid, xml_escape(self._onclick % form.event_args),
   207                 divid, xml_escape(self._onclick % form.event_args),
   208                 self.req._(self._landingzonemsg)))
   208                 self._cw._(self._landingzonemsg)))
   209         w(lzone)
   209         w(lzone)
   210         w(u'</div>')
   210         w(u'</div>')
   211         w(u'</div>')
   211         w(u'</div>')
   212 
   212 
   213     def _compute_best_vid(self, eschema, rschema, role):
   213     def _compute_best_vid(self, eschema, rschema, role):