Added the name of machine that is being deleted
[invirt/packages/invirt-web.git] / code / templates / info.mako
index 6d02f06..5423f3d 100644 (file)
@@ -50,7 +50,7 @@ Info on ${machine.name}
        % endif
   </div>
   <div>
-       ${command_button("Delete VM", "delete", extra='''onclick="return confirm('Are you sure that you want to delete this VM?');"''')}
+       ${command_button("Delete VM", "delete", extra="onclick=\"return confirm('Are you sure that you want to delete this VM (\\\'" + machine.name + "\\\')?');\"")}
   </div>
 </%def>