--- a/web/uicfg.py Mon Sep 21 18:09:38 2009 +0200
+++ b/web/uicfg.py Mon Sep 21 18:49:38 2009 +0200
@@ -167,7 +167,8 @@
def init_autoform_section(rtag, sschema, rschema, oschema, role):
if rtag.get(sschema, rschema, oschema, role) is None:
- if autoform_is_inlined.get(sschema, rschema, oschema, role):
+ if autoform_is_inlined.get(sschema, rschema, oschema, role) or \
+ autoform_is_inlined.get(sschema, rschema, oschema, neg_role(role)):
section = 'generated'
elif sschema.is_metadata(rschema):
section = 'metadata'