web/views/editforms.py
changeset 2484 7e9283731db8
parent 2483 6e328fcc276c
child 2504 f28b1ffc3c91
equal deleted inserted replaced
2483:6e328fcc276c 2484:7e9283731db8
    89     __select__ = non_final_entity() & match_kwargs('rtype')
    89     __select__ = non_final_entity() & match_kwargs('rtype')
    90 
    90 
    91     # FIXME editableField class could be toggleable from userprefs
    91     # FIXME editableField class could be toggleable from userprefs
    92 
    92 
    93     _onclick = u"showInlineEditionForm(%(eid)s, '%(rtype)s', '%(divid)s')"
    93     _onclick = u"showInlineEditionForm(%(eid)s, '%(rtype)s', '%(divid)s')"
    94     _defaultlandingzone = u'<img title="%(msg)s" src="data/file.gif" alt="%(msg)s"/>'
    94     _defaultlandingzone = (u'<img title="%(msg)s" '
       
    95                            'src="data/accessories-text-editor.png" '
       
    96                            'alt="%(msg)s"/>')
    95     _landingzonemsg = _('click to edit this field')
    97     _landingzonemsg = _('click to edit this field')
    96     # default relation vids according to cardinality
    98     # default relation vids according to cardinality
    97     _one_rvid = 'incontext'
    99     _one_rvid = 'incontext'
    98     _many_rvid = 'csv'
   100     _many_rvid = 'csv'
    99 
   101