X-Git-Url: http://xvm.mit.edu/gitweb/invirt/packages/invirt-web.git/blobdiff_plain/97a1b45c11a71728664e994cbcdca4801baa8635..e741fd1d0affaa05859561b5a3219ee055c10c07:/code/templates/info.mako diff --git a/code/templates/info.mako b/code/templates/info.mako index b98e7c2..0d1b66b 100644 --- a/code/templates/info.mako +++ b/code/templates/info.mako @@ -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()} @@ -59,8 +59,7 @@ Info on ${machine.name} % if on: (To edit ram, disk size, or machine name, turn off the machine first.) % endif -<form action="modify" method="POST"> - <input type="hidden" name="machine_id" value="${defaults.machine_id}"/> +<form action="machine/${machine.machine_id}/modify" method="POST"> <table> <tr><td>Description:</td><td colspan="2"><textarea name="description" rows="4" cols="60">${defaults.description}</textarea></td></tr> <tr><td>Owner${self.fn.helppopup("Owner")}:</td><td><input type="text" name="owner", value="${defaults.owner}"/></td></tr>