summaryrefslogtreecommitdiffstats
path: root/webui_templates
diff options
context:
space:
mode:
authorMichael DeHaan <mdehaan@redhat.com>2008-12-03 10:54:33 -0500
committerMichael DeHaan <mdehaan@redhat.com>2008-12-03 10:54:33 -0500
commitbe9678797fc182fd338babaf4edbb3d029617c31 (patch)
treee99b0a1218efd54e4451aef9cbee824dfe79a1c0 /webui_templates
parentf9d21cbf03e34686813d284090aaba030c717186 (diff)
downloadcobbler-be9678797fc182fd338babaf4edbb3d029617c31.tar.gz
cobbler-be9678797fc182fd338babaf4edbb3d029617c31.tar.xz
cobbler-be9678797fc182fd338babaf4edbb3d029617c31.zip
PV's patch to make the webapp recursive delete checkboxes behave as expected
Diffstat (limited to 'webui_templates')
-rw-r--r--webui_templates/distro_edit.tmpl6
-rw-r--r--webui_templates/image_edit.tmpl5
-rw-r--r--webui_templates/profile_edit.tmpl6
3 files changed, 9 insertions, 8 deletions
diff --git a/webui_templates/distro_edit.tmpl b/webui_templates/distro_edit.tmpl
index 2e772b4b..c46d5a44 100644
--- a/webui_templates/distro_edit.tmpl
+++ b/webui_templates/distro_edit.tmpl
@@ -288,9 +288,9 @@ function disablename(value)
<label for="delete">Delete</label>
</td>
<td>
- <input type="checkbox" name="delete1" value="delete1">Yes
- <input type="checkbox" name="delete2" value="delete2">Really
- <input type="checkbox" name="recursive" value="recursive">Delete child objects?
+ <input type="checkbox" name="delete1" value="True">Yes
+ <input type="checkbox" name="delete2" value="True">Really
+ <input type="checkbox" name="recursive" value="True">Delete child objects?
<p class="context-tip">Check both buttons and click save to delete this object</p>
</td>
</tr>
diff --git a/webui_templates/image_edit.tmpl b/webui_templates/image_edit.tmpl
index 50f03427..f4e95884 100644
--- a/webui_templates/image_edit.tmpl
+++ b/webui_templates/image_edit.tmpl
@@ -375,8 +375,9 @@ function disablename(value)
<label for="delete">Delete</label>
</td>
<td>
- <input type="checkbox" name="delete1" value="delete1">Yes
- <input type="checkbox" name="delete2" value="delete2">Really
+ <input type="checkbox" name="delete1" value="True">Yes
+ <input type="checkbox" name="delete2" value="True">Really
+ <input type="checkbox" name="recursive" value="True">Delete child objects?
<p class="context-tip">Check both buttons and click save to delete this object</p>
</td>
</tr>
diff --git a/webui_templates/profile_edit.tmpl b/webui_templates/profile_edit.tmpl
index 86194c8f..b0f047fb 100644
--- a/webui_templates/profile_edit.tmpl
+++ b/webui_templates/profile_edit.tmpl
@@ -442,9 +442,9 @@ function disablename(value)
<label for="delete">Delete</label>
</td>
<td>
- <input type="checkbox" name="delete1" value="delete1">Yes
- <input type="checkbox" name="delete2" value="delete2">Really
- <input type="checkbox" name="recursive" value="recursive">Delete child objects?
+ <input type="checkbox" name="delete1" value="True">Yes
+ <input type="checkbox" name="delete2" value="True">Really
+ <input type="checkbox" name="recursive" value="True">Delete child objects?
<p class="context-tip">Check both buttons and click save to delete this object</p>
</td>
</tr>