cubicweb/web/views/editforms.py
changeset 11197 9f1c89e7426d
parent 11057 0b59724cb3f2
child 11301 a76feec0a861
--- a/cubicweb/web/views/editforms.py	Wed Mar 16 00:42:40 2016 +0100
+++ b/cubicweb/web/views/editforms.py	Tue Mar 15 16:58:50 2016 +0100
@@ -52,7 +52,8 @@
     domid = 'deleteconf'
     copy_nav_params = True
     form_buttons = [fw.Button(stdmsgs.BUTTON_DELETE, cwaction='delete'),
-                    fw.Button(stdmsgs.BUTTON_CANCEL, cwaction='cancel')]
+                    fw.Button(stdmsgs.BUTTON_CANCEL,
+                              {'class': fw.Button.css_class + ' cwjs-edition-cancel'})]
 
     def __init__(self, *args, **kwargs):
         super(DeleteConfForm, self).__init__(*args, **kwargs)