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
Fixed bug pointed out by Broder with vmtype default and XHTML.
[invirt/packages/invirt-web.git]
/
code
/
templates
/
functions.tmpl
diff --git
a/code/templates/functions.tmpl
b/code/templates/functions.tmpl
index
86dc772
..
305b4e8
100644
(file)
--- a/
code/templates/functions.tmpl
+++ b/
code/templates/functions.tmpl
@@
-36,7
+36,7
@@
$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 ''
+#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
type="radio" name="vmtype" id="vmtype-${vmtype[0]}" value="${vmtype[0]}">${vmtype[1]}</input>
</label>
#end for