web/views/autoform.py
branchtls-sprint
changeset 1606 aa766861faef
parent 1560 7dd2a81b8bc8
child 1607 9747a0aa753c
--- a/web/views/autoform.py	Thu Apr 30 14:28:28 2009 +0200
+++ b/web/views/autoform.py	Thu Apr 30 14:42:03 2009 +0200
@@ -64,6 +64,8 @@
                         if card in '1+':
                             if not rschema.is_final() and composed:
                                 category = 'generated'
+                            elif eschema.is_metadata(rschema):
+                                category = 'generated'
                             else:
                                 category = 'primary'
                         elif rschema.is_final():