web/views/editforms.py
branchstable
changeset 3803 414bb8439002
parent 3800 2d951200f898
child 3806 6a4191b0eb9a
--- a/web/views/editforms.py	Sat Nov 07 18:39:37 2009 +0100
+++ b/web/views/editforms.py	Sat Nov 07 22:04:45 2009 +0100
@@ -51,8 +51,8 @@
 
     domid = 'deleteconf'
     copy_nav_params = True
-    form_buttons = [Button(stdmsgs.YES, cwaction='delete'),
-                    Button(stdmsgs.NO, cwaction='cancel')]
+    form_buttons = [Button(stdmsgs.BUTTON_DELETE, cwaction='delete'),
+                    Button(stdmsgs.BUTTON_CANCEL, cwaction='cancel')]
     @property
     def action(self):
         return self.build_url('edit')