can't edit in_state anymore, hide it stable
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Tue, 29 Sep 2009 15:09:12 +0200
branchstable
changeset 3521 ad041dae15aa
parent 3520 eb508952ee81
child 3522 cde0ff4f7a8c
can't edit in_state anymore, hide it
web/views/autoform.py
--- a/web/views/autoform.py	Tue Sep 29 12:46:22 2009 +0200
+++ b/web/views/autoform.py	Tue Sep 29 15:09:12 2009 +0200
@@ -451,7 +451,7 @@
 uicfg.autoform_section.tag_attribute(('*', 'modification_date'), 'metadata')
 uicfg.autoform_section.tag_attribute(('*', 'cwuri'), 'metadata')
 uicfg.autoform_section.tag_attribute(('*', 'has_text'), 'generated')
-uicfg.autoform_section.tag_subject_of(('*', 'in_state', '*'), 'primary')
+uicfg.autoform_section.tag_subject_of(('*', 'in_state', '*'), 'generated')
 uicfg.autoform_section.tag_subject_of(('*', 'owned_by', '*'), 'metadata')
 uicfg.autoform_section.tag_subject_of(('*', 'created_by', '*'), 'metadata')
 uicfg.autoform_section.tag_subject_of(('*', 'is', '*'), 'generated')