cubicweb/web/views/workflow.py
changeset 11197 9f1c89e7426d
parent 11057 0b59724cb3f2
child 11767 432f87a63057
--- a/cubicweb/web/views/workflow.py	Wed Mar 16 00:42:40 2016 +0100
+++ b/cubicweb/web/views/workflow.py	Tue Mar 15 16:58:50 2016 +0100
@@ -86,7 +86,8 @@
 
     form_renderer_id = 'base' # don't want EntityFormRenderer
     form_buttons = [fwdgs.SubmitButton(),
-                    fwdgs.Button(stdmsgs.BUTTON_CANCEL, cwaction='cancel')]
+                    fwdgs.Button(stdmsgs.BUTTON_CANCEL,
+                                 {'class': fwdgs.Button.css_class + ' cwjs-edition-cancel'})]
 
 
 class ChangeStateFormView(form.FormViewMixIn, EntityView):