X-Git-Url: http://xvm.mit.edu/gitweb/invirt/packages/invirt-web.git/blobdiff_plain/a9679b94c0821c37b6fecabfc8839b0da9453157..eabe84bd3f3ea514893ec700d598a06c2418f37e:/code/templates/info.mako diff --git a/code/templates/info.mako b/code/templates/info.mako index 5423f3d..e83fef1 100644 --- a/code/templates/info.mako +++ b/code/templates/info.mako @@ -50,7 +50,7 @@ Info on ${machine.name} % endif
- ${command_button("Delete VM", "delete", extra="onclick=\"return confirm('Are you sure that you want to delete this VM (\\\'" + machine.name + "\\\')?');\"")} + ${command_button("Delete VM", "delete", extra='''onclick="return confirm('Are you sure that you want to delete this VM (\\\'%s\\\')?');"''' % (machine.name))}