web/views/autoform.py
changeset 6427 c8a5ac2d1eaa
parent 6401 d7f5d873e1b8
child 6576 481249ecdc4f
equal deleted inserted replaced
6426:541659c39f6a 6427:c8a5ac2d1eaa
   899 
   899 
   900 # use primary and not generated for eid since it has to be an hidden
   900 # use primary and not generated for eid since it has to be an hidden
   901 _AFS.tag_attribute(('*', 'eid'), 'main', 'attributes')
   901 _AFS.tag_attribute(('*', 'eid'), 'main', 'attributes')
   902 _AFS.tag_attribute(('*', 'eid'), 'muledit', 'attributes')
   902 _AFS.tag_attribute(('*', 'eid'), 'muledit', 'attributes')
   903 _AFS.tag_attribute(('*', 'description'), 'main', 'attributes')
   903 _AFS.tag_attribute(('*', 'description'), 'main', 'attributes')
   904 _AFS.tag_attribute(('*', 'creation_date'), 'main', 'metadata')
       
   905 _AFS.tag_attribute(('*', 'modification_date'), 'main', 'metadata')
       
   906 _AFS.tag_attribute(('*', 'cwuri'), 'main', 'metadata')
       
   907 _AFS.tag_attribute(('*', 'has_text'), 'main', 'hidden')
   904 _AFS.tag_attribute(('*', 'has_text'), 'main', 'hidden')
   908 _AFS.tag_subject_of(('*', 'in_state', '*'), 'main', 'hidden')
   905 _AFS.tag_subject_of(('*', 'in_state', '*'), 'main', 'hidden')
   909 _AFS.tag_subject_of(('*', 'owned_by', '*'), 'main', 'metadata')
   906 for rtype in ('creation_date', 'modification_date', 'cwuri',
   910 _AFS.tag_subject_of(('*', 'created_by', '*'), 'main', 'metadata')
   907               'owned_by', 'created_by', 'cw_source'):
       
   908     _AFS.tag_subject_of(('*', rtype, '*'), 'main', 'metadata')
       
   909 
   911 _AFS.tag_subject_of(('*', 'require_permission', '*'), 'main', 'hidden')
   910 _AFS.tag_subject_of(('*', 'require_permission', '*'), 'main', 'hidden')
   912 _AFS.tag_subject_of(('*', 'by_transition', '*'), 'main', 'attributes')
   911 _AFS.tag_subject_of(('*', 'by_transition', '*'), 'main', 'attributes')
   913 _AFS.tag_subject_of(('*', 'by_transition', '*'), 'muledit', 'attributes')
   912 _AFS.tag_subject_of(('*', 'by_transition', '*'), 'muledit', 'attributes')
   914 _AFS.tag_object_of(('*', 'by_transition', '*'), 'main', 'hidden')
   913 _AFS.tag_object_of(('*', 'by_transition', '*'), 'main', 'hidden')
   915 _AFS.tag_object_of(('*', 'from_state', '*'), 'main', 'hidden')
   914 _AFS.tag_object_of(('*', 'from_state', '*'), 'main', 'hidden')