equal
deleted
inserted
replaced
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') |