37 _abaa.tag_object_of(('State', 'state_of', 'Workflow'), True) |
37 _abaa.tag_object_of(('State', 'state_of', 'Workflow'), True) |
38 _abaa.tag_object_of(('Transition', 'transition_of', 'Workflow'), True) |
38 _abaa.tag_object_of(('Transition', 'transition_of', 'Workflow'), True) |
39 _abaa.tag_object_of(('WorkflowTransition', 'transition_of', 'Workflow'), True) |
39 _abaa.tag_object_of(('WorkflowTransition', 'transition_of', 'Workflow'), True) |
40 |
40 |
41 _afs = uicfg.autoform_section |
41 _afs = uicfg.autoform_section |
42 _afs.tag_subject_of(('TrInfo', 'to_state', '*'), 'generated') |
42 _afs.tag_subject_of(('TrInfo', 'to_state', '*'), 'main', 'hidden') |
43 _afs.tag_subject_of(('TrInfo', 'from_state', '*'), 'generated') |
43 _afs.tag_subject_of(('TrInfo', 'from_state', '*'), 'main', 'hidden') |
44 _afs.tag_object_of(('State', 'allowed_transition', '*'), 'primary') |
44 _afs.tag_object_of(('State', 'allowed_transition', '*'), 'main', 'attributes') |
45 |
45 |
46 |
46 |
47 # IWorkflowable views ######################################################### |
47 # IWorkflowable views ######################################################### |
48 |
48 |
49 class ChangeStateForm(forms.CompositeEntityForm): |
49 class ChangeStateForm(forms.CompositeEntityForm): |