X-Git-Url: http://xvm.mit.edu/gitweb/invirt/packages/invirt-web.git/blobdiff_plain/b812ecb815635726dca92b6c3725ac0a4bb86ab6..2be4309141ec57fc2b2a7b776b2187cd38d6abb7:/code/templates/functions.tmpl?ds=sidebyside diff --git a/code/templates/functions.tmpl b/code/templates/functions.tmpl index 0854e6f..3daf6ad 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