web/uicfg.py
changeset 2671 ee5538bdf0ea
parent 2652 3753f3a07ca1
child 2689 44f041222d0f
--- a/web/uicfg.py	Mon Aug 03 09:24:50 2009 +0200
+++ b/web/uicfg.py	Tue Aug 04 11:35:57 2009 +0200
@@ -86,7 +86,8 @@
         card = card_from_role(rschema.rproperty(sschema, oschema, 'cardinality'), role)
         composed = rschema.rproperty(sschema, oschema, 'composite') == neg_role(role)
         if rschema.is_final():
-            if rschema.meta or oschema.type in ('Password', 'Bytes'):
+            if rschema.meta or sschema.is_metadata(rschema) \
+                    or oschema.type in ('Password', 'Bytes'):
                 section = 'hidden'
             else:
                 section = 'attributes'