[web ui] rename form buttons to ok/cancel where workflow change state stable
authorNicolas Chauvat <nicolas.chauvat@logilab.fr>
Sun, 08 Nov 2009 19:33:03 +0100
branchstable
changeset 3805 ad0b38e1a4eb
parent 3804 65bc65b2ccce
child 3806 6a4191b0eb9a
[web ui] rename form buttons to ok/cancel where workflow change state
web/views/workflow.py
--- a/web/views/workflow.py	Sun Nov 08 19:28:25 2009 +0100
+++ b/web/views/workflow.py	Sun Nov 08 19:33:03 2009 +0100
@@ -50,8 +50,8 @@
     id = 'changestate'
 
     form_renderer_id = 'base' # don't want EntityFormRenderer
-    form_buttons = [fwdgs.SubmitButton(stdmsgs.YES),
-                    fwdgs.Button(stdmsgs.NO, cwaction='cancel')]
+    form_buttons = [fwdgs.SubmitButton(),
+                    fwdgs.Button(stdmsgs.BUTTON_CANCEL, cwaction='cancel')]
 
 
 class ChangeStateFormView(form.FormViewMixIn, view.EntityView):