web/uicfg.py
changeset 4261 b45a3563c6bb
parent 4252 6c4f109c2b03
child 4339 fe93b670343d
--- a/web/uicfg.py	Tue Jan 19 10:43:48 2010 +0100
+++ b/web/uicfg.py	Tue Jan 19 12:17:22 2010 +0100
@@ -437,8 +437,8 @@
         warn('autoform_is_inlined rtag is deprecated, use autoform_section '
              'with inlined formtype and "attributes" or "hidden" section',
              DeprecationWarning, stacklevel=2)
-        section = tag and 'attributes' or 'hidden'
-        autoform_section.tag_relation(key, 'inlined', section)
+        section = tag and 'inlined' or 'hidden'
+        autoform_section.tag_relation(key, 'main', section)
 
 # inlined view flag for non final relations: when True for an entry, the
 # entity(ies) at the other end of the relation will be editable from the