Make commands work from list and info pages
[invirt/packages/invirt-web.git] / code / templates / info.mako
index b98e7c2..d6a1cfb 100644 (file)
@@ -28,7 +28,7 @@ Info on ${machine.name}
 % endif
 <%def name="command_button(title, value, cdrom=False, extra='')">
 <form action="machine/${machine.machine_id}/command/${value}" method="POST">
-  <input type="hidden" name="back" value="machine/${machine.machine_id}/info" />
+  <input type="hidden" name="back" value="info" />
   <input type="submit" class="button" name="action" value="${title}" ${extra | n}/>
 % if cdrom:
   Boot CD: ${self.fn.cdromList()}