Commit f4702c27 authored by gloria's avatar gloria
Browse files

fix option to active autostart machines

show autostart checkbox if machine is not a base machine and if machine has not clones

fixes #901
parent 9050bca7
......@@ -224,7 +224,9 @@
% if ($autostart) {
<td class="lgMachToggle">
<input type="checkbox" ng-hide="machine.has_clones || machine.is_base" ng-model="machine.autostart" ng-true-value="1" ng-false-value="0" ng-change="set_autostart(,machine.autostart)" title="{{ machine.autostart ? 'Disable' : 'Enable'}} autostart">
% }
% }
<td class="lgMachActions">
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment