#end def
#def vmTypeList($default=None)
-#for $vmtype in sorted($sipb_xen_database.Type.select(), key=lambda x: x.description)
+#for $vmtype in (('linux-hvm', 'HVM'), ('linux', 'ParaVM'), )
<label>
<input #slurp
-#if $default == $vmtype then 'checked' else ''
- type="radio" name="vmtype" value="${vmtype.type_id}">${vmtype.description}</input>
+#if $default == $vmtype[0] then 'checked' else ''
+ type="radio" name="vmtype" value="${vmtype[0]}">${vmtype[1]}</input>
</label>
#end for
#end def