X-Git-Url: http://xvm.mit.edu/gitweb/invirt/packages/invirt-web.git/blobdiff_plain/b812ecb815635726dca92b6c3725ac0a4bb86ab6..7ab93691b4b6a45e99f78b37796413c5f24629a4:/code/templates/functions.tmpl diff --git a/code/templates/functions.tmpl b/code/templates/functions.tmpl index 0854e6f..9bf6cf8 100644 --- a/code/templates/functions.tmpl +++ b/code/templates/functions.tmpl @@ -1,3 +1,4 @@ +#filter WebSafe #def databaseList($lst, $default, $onchange, $name, $id, $valueattr, $descattr) ${vmtype.description} +#if $default == $vmtype[0] then 'checked' else '' + type="radio" name="vmtype" value="${vmtype[0]}">${vmtype[1]} #end for #end def @@ -53,5 +57,7 @@ $databaseList(sorted($sipb_xen_database.Autoinstall.select(), key=lambda x: x.de #end if #end def - -$full_body \ No newline at end of file +#filter None +$full_body +#end filter +#end filter