web/views/workflow.py
branchstable
changeset 3805 ad0b38e1a4eb
parent 3513 c002f6488631
child 3867 06ac8f00a99f
equal deleted inserted replaced
3804:65bc65b2ccce 3805:ad0b38e1a4eb
    48 
    48 
    49 class ChangeStateForm(forms.CompositeEntityForm):
    49 class ChangeStateForm(forms.CompositeEntityForm):
    50     id = 'changestate'
    50     id = 'changestate'
    51 
    51 
    52     form_renderer_id = 'base' # don't want EntityFormRenderer
    52     form_renderer_id = 'base' # don't want EntityFormRenderer
    53     form_buttons = [fwdgs.SubmitButton(stdmsgs.YES),
    53     form_buttons = [fwdgs.SubmitButton(),
    54                     fwdgs.Button(stdmsgs.NO, cwaction='cancel')]
    54                     fwdgs.Button(stdmsgs.BUTTON_CANCEL, cwaction='cancel')]
    55 
    55 
    56 
    56 
    57 class ChangeStateFormView(form.FormViewMixIn, view.EntityView):
    57 class ChangeStateFormView(form.FormViewMixIn, view.EntityView):
    58     id = 'statuschange'
    58     id = 'statuschange'
    59     title = _('status change')
    59     title = _('status change')