summaryrefslogtreecommitdiffstats
path: root/webui_templates
diff options
context:
space:
mode:
authorMichael DeHaan <mdehaan@redhat.com>2008-09-04 11:38:05 -0400
committerMichael DeHaan <mdehaan@redhat.com>2008-09-04 11:38:05 -0400
commit41a827d9ad0eaa779938dc91bf05e57c9c4b4cba (patch)
treec2d74f9d2e960fd0fcea7d7a65b8b88594e5742b /webui_templates
parentf1f7cd2811d82d9fbddbc830ce48a2fe9cbfcdc3 (diff)
downloadcobbler-41a827d9ad0eaa779938dc91bf05e57c9c4b4cba.tar.gz
cobbler-41a827d9ad0eaa779938dc91bf05e57c9c4b4cba.tar.xz
cobbler-41a827d9ad0eaa779938dc91bf05e57c9c4b4cba.zip
Misc bugfixes, release bump in preparation of 1.2.2
Diffstat (limited to 'webui_templates')
-rw-r--r--webui_templates/system_edit.tmpl14
1 files changed, 10 insertions, 4 deletions
diff --git a/webui_templates/system_edit.tmpl b/webui_templates/system_edit.tmpl
index 02244a95..7a4c2c06 100644
--- a/webui_templates/system_edit.tmpl
+++ b/webui_templates/system_edit.tmpl
@@ -207,11 +207,17 @@ function page_onload() {
<label for="netboot">Netboot Enabled</label>
</td>
<td>
- <input type="checkbox" name="netboot" id="netboot"
- #if not $system or $system.netboot_enabled
- checked="True"
+
+ #if $system
+ #if str($system.netboot_enabled) != "False"
+ <input type="checkbox" name="netboot" id="netboot" checked=True>
+ #else
+ <input type="checkbox" name="netboot" id="netboot">
+ #end if
+ #else
+ <input type="checkbox" name="netboot" id="netboot" checked="True">
#end if
- >
+
<p class="context-tip">Deselect to keep this system from PXE booting</p>
</td>
</tr>