web/views/workflow.py
changeset 3659 993997b4b41d
parent 3524 a3431f4e2f40
child 3890 d7a270f50f54
equal deleted inserted replaced
3658:d8f2ec7e91fa 3659:993997b4b41d
    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):