web/uicfg.py
changeset 2505 5d7d4af9eadf
parent 2465 cc18a700a2be
child 2515 5d3cd163e2db
--- a/web/uicfg.py	Fri Jul 24 19:42:57 2009 +0200
+++ b/web/uicfg.py	Fri Jul 24 19:43:12 2009 +0200
@@ -186,7 +186,7 @@
             card = rschema.rproperty(sschema, oschema, 'cardinality')[1]
             composed = rschema.rproperty(sschema, oschema, 'composite') == 'subject'
         if sschema.is_metadata(rschema):
-            section = 'generated'
+            section = 'metadata'
         elif card in '1+':
             if not rschema.is_final() and composed:
                 section = 'generated'
@@ -229,8 +229,8 @@
 autoform_section.tag_attribute(('CWUser', 'surname'), 'secondary')
 autoform_section.tag_attribute(('CWUser', 'last_login_time'), 'metadata')
 autoform_section.tag_subject_of(('CWUser', 'in_group', '*'), 'primary')
-autoform_section.tag_object_of(('*', 'owned_by', 'CWUser'), 'generated')
-autoform_section.tag_object_of(('*', 'created_by', 'CWUser'), 'generated')
+autoform_section.tag_object_of(('*', 'owned_by', 'CWUser'), 'metadata')
+autoform_section.tag_object_of(('*', 'created_by', 'CWUser'), 'metadata')
 autoform_section.tag_object_of(('*', 'bookmarked_by', 'CWUser'), 'metadata')
 autoform_section.tag_attribute(('Bookmark', 'path'), 'primary')
 autoform_section.tag_subject_of(('*', 'use_email', '*'), 'generated') # inlined actually