equal
deleted
inserted
replaced
36 js = u"javascript: togglePendingDelete('%s', %s);" % (nodeid, html_escape(dumps(eid))) |
36 js = u"javascript: togglePendingDelete('%s', %s);" % (nodeid, html_escape(dumps(eid))) |
37 return u'[<a class="handle" href="%s" id="handle%s">%s</a>]' % (js, nodeid, label) |
37 return u'[<a class="handle" href="%s" id="handle%s">%s</a>]' % (js, nodeid, label) |
38 |
38 |
39 |
39 |
40 class FormMixIn(object): |
40 class FormMixIn(object): |
41 """abstract form mix-in""" |
41 """abstract form mix-in |
|
42 XXX: you should inherit from this FIRST (obscure pb with super call)""" |
42 category = 'form' |
43 category = 'form' |
43 controller = 'edit' |
44 controller = 'edit' |
44 domid = 'entityForm' |
45 domid = 'entityForm' |
45 |
46 |
46 http_cache_manager = NoHTTPCacheManager |
47 http_cache_manager = NoHTTPCacheManager |