# HG changeset patch # User Sylvain Thénault # Date 1248457377 -7200 # Node ID f28b1ffc3c912bbcf1c6030c7720ba72e52c3df7 # Parent c4bf7ef8b8517b910556465fc36a10a7dd6b1136 some reledit fixes: actually needs metadata in form's attrcategories, check autoform_section for attributes (XXX need check for relation), no visible when attribute isn't editable diff -r c4bf7ef8b851 -r f28b1ffc3c91 web/views/editforms.py --- a/web/views/editforms.py Fri Jul 24 19:41:10 2009 +0200 +++ b/web/views/editforms.py Fri Jul 24 19:42:57 2009 +0200 @@ -87,8 +87,11 @@ """ id = 'reledit' __select__ = non_final_entity() & match_kwargs('rtype') + # FIXME editableField class could be toggleable from userprefs - # FIXME editableField class could be toggleable from userprefs + # add metadata to allow edition of metadata attributes (not considered by + # edition form by default) + attrcategories = ('primary', 'secondary', 'metadata') _onclick = u"showInlineEditionForm(%(eid)s, '%(rtype)s', '%(divid)s')" _defaultlandingzone = (u'') w(u'
' % divid)