# HG changeset patch # User Aurelien Campeas # Date 1256059159 -7200 # Node ID 2c3b72faf05d883ceee01cb6580d2dbc9e870fcb # Parent 9d93faa0e6dc01ad46751dd71a185c571409a6f5 small cleanup & revert to less intrusive icon diff -r 9d93faa0e6dc -r 2c3b72faf05d web/data/cubicweb.form.css --- a/web/data/cubicweb.form.css Tue Oct 20 18:13:36 2009 +0200 +++ b/web/data/cubicweb.form.css Tue Oct 20 19:19:19 2009 +0200 @@ -180,13 +180,6 @@ margin-left: 2em; } -/*FIXME inlineedit not used ?*/ -/* -div.inlineedit { - display: none; -} -*/ - div.editableField { display: inline; } diff -r 9d93faa0e6dc -r 2c3b72faf05d web/views/editforms.py --- a/web/views/editforms.py Tue Oct 20 18:13:36 2009 +0200 +++ b/web/views/editforms.py Tue Oct 20 19:19:19 2009 +0200 @@ -114,8 +114,7 @@ _onsubmit = ("return inlineValidateRelationForm('%(rtype)s', '%(role)s', '%(eid)s', " "'%(divid)s', %(reload)s, '%(vid)s', '%(default)s', '%(lzone)s');") _cancelclick = "hideInlineEdit(%s,\'%s\',\'%s\')" - _defaultlandingzone = (u'') _landingzonemsg = _('click to edit this field') # default relation vids according to cardinality @@ -199,8 +198,10 @@ """ w = self.w w(u'
' % form.event_args['divid']) - w(u'
%s' % ( - form.event_args['divid'], xml_escape(self._onclick % form.event_args), lzone)) + w(u'
' % ( + form.event_args['divid'], xml_escape(self._onclick % form.event_args), + self.req._(self._landingzonemsg))) + w(lzone) w(value) w(u'
') w(form.form_render(renderer=renderer))