summaryrefslogtreecommitdiffstats
path: root/webui_templates/distro_edit.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'webui_templates/distro_edit.tmpl')
-rw-r--r--webui_templates/distro_edit.tmpl11
1 files changed, 6 insertions, 5 deletions
diff --git a/webui_templates/distro_edit.tmpl b/webui_templates/distro_edit.tmpl
index 88f8d29..4729816 100644
--- a/webui_templates/distro_edit.tmpl
+++ b/webui_templates/distro_edit.tmpl
@@ -15,7 +15,7 @@ function disablename(value)
</script>
#end if
-<form method="post" action="$base_url/distro_save">
+<form method="POST" action="$base_url">
<fieldset id="cform">
@@ -27,6 +27,7 @@ function disablename(value)
<legend>Adding a Distro</legend>
<input type="hidden" name="new_or_edit" value="new"/>
#end if
+ <input type="hidden" name="mode" value="distro_save">
<table border=0>
@@ -68,7 +69,7 @@ function disablename(value)
<label for="kernel">Kernel</label>
</td>
<td>
- <input type="text" size="255" style="width: 150px;" name="kernel" id="kernel"
+ <input type="text" size="255" style="width: 400px;" name="kernel" id="kernel"
#if $distro
value="$distro.kernel"
#end if
@@ -82,7 +83,7 @@ function disablename(value)
<label for="initrd">Initrd</label>
</td>
<td>
- <input type="text" size="255" style="width: 150px;" name="initrd" id="initrd"
+ <input type="text" size="255" style="width: 400px;" name="initrd" id="initrd"
#if $distro
value="$distro.initrd"
#end if
@@ -120,7 +121,7 @@ function disablename(value)
<label for="kopts">Kernel Options</label>
</td>
<td>
- <input type="text" size="255" style="width: 150px;" name="kopts" id="kopts"
+ <input type="text" size="255" style="width: 400px;" name="kopts" id="kopts"
#if $distro
value="$distro.kernel_options"
#end if
@@ -134,7 +135,7 @@ function disablename(value)
<label for="ksmeta">Kickstart Metadata</label>
</td>
<td>
- <input type="text" size="255" style="width: 150px;" name="ksmeta" id="ksmeta"
+ <input type="text" size="255" style="width: 400px;" name="ksmeta" id="ksmeta"
#if $distro
value="$distro.ks_meta"
#end if