summaryrefslogtreecommitdiffstats
path: root/webui_templates
diff options
context:
space:
mode:
Diffstat (limited to 'webui_templates')
-rw-r--r--webui_templates/repo_edit.tmpl2
-rw-r--r--webui_templates/system_edit.tmpl2
2 files changed, 2 insertions, 2 deletions
diff --git a/webui_templates/repo_edit.tmpl b/webui_templates/repo_edit.tmpl
index cd236a8..b4ac2f0 100644
--- a/webui_templates/repo_edit.tmpl
+++ b/webui_templates/repo_edit.tmpl
@@ -80,7 +80,7 @@ function disablename(value)
</td>
<td>
<input type="checkbox" name="keep_updated" id="keep_updated"
- #if not $repo or $repo.keep_updated is True
+ #if (not $repo) or $repo.keep_updated
checked="true"
#end if
/>
diff --git a/webui_templates/system_edit.tmpl b/webui_templates/system_edit.tmpl
index 528e03f..4561f13 100644
--- a/webui_templates/system_edit.tmpl
+++ b/webui_templates/system_edit.tmpl
@@ -186,7 +186,7 @@ function page_onload() {
</td>
<td>
<input type="checkbox" name="netboot" id="netboot"
- #if not $system or $system.netboot_enabled is True
+ #if not $system or $system.netboot_enabled
checked="True"
#end if
>