#def cdromList($default="", $onchange=None)
#filter None
-$databaseList(sorted($sipb_xen_database.CDROM.select(), key=lambda x: x.description),
+$databaseList(sorted($database.CDROM.query(), 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),
+$databaseList(sorted($database.Autoinstall.query(), key=lambda x: x.description),
default, onchange, 'autoinstall', 'autoinstalllist', 'autoinstall_id', 'description')
#end filter
#end def
<label>
<input #slurp
#if $default == $vmtype[0] then 'checked' else ''
- type="radio" name="vmtype" value="${vmtype[0]}">${vmtype[1]}</input>
+ type="radio" name="vmtype" id="vmtype-${vmtype[0]}" value="${vmtype[0]}">${vmtype[1]}</input>
</label>
#end for
#end def
#filter None
$full_body
#end filter
-#end filter
\ No newline at end of file
+#end filter