--- a/web/uicfg.py Wed Oct 07 12:38:30 2009 +0200
+++ b/web/uicfg.py Fri Oct 09 16:39:26 2009 +0200
@@ -284,14 +284,9 @@
else:
card, composed = _card_and_comp(sschema, rschema, oschema, role)
if card in '1+':
- if not rschema.is_final() and composed:
- # XXX why? probably because we want it unlined, though
- # this is not the case by default
- sectdict['main'] = 'hidden'
- else:
- sectdict['main'] = 'attributes'
- if not 'muledit' in sectdict:
- sectdict['muledit'] = 'attributes'
+ sectdict['main'] = 'attributes'
+ if not 'muledit' in sectdict:
+ sectdict['muledit'] = 'attributes'
elif rschema.is_final():
sectdict['main'] = 'attributes'
else:
@@ -402,7 +397,6 @@
continue
yield (rschema, targetschemas, role)
-
autoform_section = AutoformSectionRelationTags('autoform_section')
# relations'field class