+#filter WebSafe
#def databaseList($lst, $default, $onchange, $name, $id, $valueattr, $descattr)
<select name="$name" id="$id"#slurp
#if $onchange is not None
#end def
#def cdromList($default="", $onchange=None)
+#filter None
$databaseList(sorted($sipb_xen_database.CDROM.select(), key=lambda x: x.description),
default, onchange, 'cdrom', 'cdromlist', 'cdrom_id', 'description')
+#end filter
#end def
#def autoList($default="", $onchange=None)
+#filter None
$databaseList(sorted($sipb_xen_database.Autoinstall.select(), key=lambda x: x.description),
default, onchange, 'autoinstall', 'autoinstalllist', 'autoinstall_id', 'description')
-## $databaseList(autos, default, onchange, 'autoinstall', 'autoinstalllist', 'autoinstall_id', 'description')
+#end filter
#end def
#def vmTypeList($default=None)
</tr>
#end if
#end def
-
-$full_body
\ No newline at end of file
+#filter None
+$full_body
+#end filter
+#end filter
\ No newline at end of file