summaryrefslogtreecommitdiffstats
path: root/webui_templates/profile_edit.tmpl
diff options
context:
space:
mode:
authorMichael DeHaan <mdehaan@mdehaan.rdu.redhat.com>2007-09-13 13:40:06 -0400
committerMichael DeHaan <mdehaan@mdehaan.rdu.redhat.com>2007-09-13 13:40:06 -0400
commitbaec248f1bf62ec6ed099d1d29516cab917655a8 (patch)
tree3a44f2fcbadaad63bc1bd916bccbd0c469e5b20b /webui_templates/profile_edit.tmpl
parentca35374f0faa564514c937430ee7deb1a3ffc01a (diff)
downloadthird_party-cobbler-baec248f1bf62ec6ed099d1d29516cab917655a8.tar.gz
third_party-cobbler-baec248f1bf62ec6ed099d1d29516cab917655a8.tar.xz
third_party-cobbler-baec248f1bf62ec6ed099d1d29516cab917655a8.zip
Adding ability to save/edit/add profiles to Web UI.
Diffstat (limited to 'webui_templates/profile_edit.tmpl')
-rw-r--r--webui_templates/profile_edit.tmpl9
1 files changed, 6 insertions, 3 deletions
diff --git a/webui_templates/profile_edit.tmpl b/webui_templates/profile_edit.tmpl
index eab13be..2dbeb7e 100644
--- a/webui_templates/profile_edit.tmpl
+++ b/webui_templates/profile_edit.tmpl
@@ -1,7 +1,7 @@
#extends cobbler.webui.master
#block body
-<form method="post" action="/profile_save">
+<form method="post" action="$base_url/profile_save">
<fieldset id="cform">
<legend>Edit a Profile</legend>
@@ -35,8 +35,8 @@
<!-- should allow freeform input but still show a list of choices? -->
<!-- probably should implement a combo box eventually -->
- <label for="ksfile">Kickstart File</label>
- <input type="text" size="128" style="width: 150px;" name="kopts" id="kopts"
+ <label for="kickstart">Kickstart File</label>
+ <input type="text" size="128" style="width: 150px;" name="kickstart" id="kickstart"
#if $profile
value="$profile.kickstart"
#end if
@@ -45,6 +45,9 @@
<label for="kopts">Kernel Options</label>
<input type="text" size="128" style="width: 150px;" name="kopts" id="kopts"
+ #if $profile
+ value="$profile.kernel_options"
+ #end if
/>
<br/>