X-Git-Url: http://xvm.mit.edu/gitweb/invirt/packages/invirt-web.git/blobdiff_plain/b812ecb815635726dca92b6c3725ac0a4bb86ab6..0829a92050bada078fa6efb21a86c71c7390015d:/code/templates/functions.tmpl?ds=sidebyside diff --git a/code/templates/functions.tmpl b/code/templates/functions.tmpl index 0854e6f..86dc772 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" id="vmtype-${vmtype[0]}" 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