# HG changeset patch # User Nicolas Chauvat # Date 1257705183 -3600 # Node ID ad0b38e1a4eba7a1167e3cc50672dc4721cbe86e # Parent 65bc65b2cccee49a8bdc8d1eff8a10003b99411c [web ui] rename form buttons to ok/cancel where workflow change state diff -r 65bc65b2ccce -r ad0b38e1a4eb 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):