#else if $varExists('new_machine')
<p>Congratulations! You successfully created a new VM called $new_machine.</p>
#end if
- <form action="create" method="POST" onsubmit="return jsFormSubmit('create', this);">
+ <form action="create" method="POST">
+ <input type="hidden" name="back" value="list"/>
<table>
$errorRow('create', $err)
<tr>
#end if
</td>
<td>
- <form action="command" method="post" onsubmit="return rowFormSubmit(this, 'list');">
+ <form action="command" method="post">
+ <input type="hidden" name="back" value="list"/>
<input type="hidden" name="machine_id"
value="$machine.machine_id"/>
<input type="submit" class="button" name="action" value="#slurp
#else
<p>You have the following VMs:</p>
#end if
- <p><a href="list" onclick="new Ajax.Updater('machinelist', 'list?js=machinelist', {method: 'get' });return false">refresh</a></p>
+ <p><a href="list">refresh</a></p>
<div id="machinelist">
$machineList($machines)
</div>