projects
/
invirt/packages/invirt-web.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Punt the "moocow" VNC password - it's dumb, and we already have our
[invirt/packages/invirt-web.git]
/
code
/
templates
/
functions.tmpl
diff --git
a/code/templates/functions.tmpl
b/code/templates/functions.tmpl
index
3daf6ad
..
305b4e8
100644
(file)
--- a/
code/templates/functions.tmpl
+++ b/
code/templates/functions.tmpl
@@
-36,8
+36,8
@@
$databaseList(sorted($database.Autoinstall.query(), key=lambda x: x.description)
#for $vmtype in (('linux-hvm', 'HVM'), ('linux', 'ParaVM'), )
<label>
<input #slurp
#for $vmtype in (('linux-hvm', 'HVM'), ('linux', 'ParaVM'), )
<label>
<input #slurp
-#if $default == $vmtype[0] then 'checked' else ''
- type="radio" name="vmtype" value="${vmtype[0]}">${vmtype[1]}</input>
+#if $default == $vmtype[0] then 'checked="checked"' else ''
+ type="radio" name="vmtype" id="vmtype-${vmtype[0]}" value="${vmtype[0]}">${vmtype[1]}</input>
</label>
#end for
#end def
</label>
#end for
#end def