--- a/web/uicfg.py Thu Sep 17 15:52:46 2009 +0200
+++ b/web/uicfg.py Tue Sep 22 12:11:12 2009 +0200
@@ -180,7 +180,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'