</input> tag is meaningless.
svn path=/trunk/packages/invirt-web/; revision=2792
<%def name="vmTypeList(default=None)">
% for vmtype in (('linux-hvm', 'HVM'), ('linux', 'ParaVM'), ):
<label>
<%def name="vmTypeList(default=None)">
% for vmtype in (('linux-hvm', 'HVM'), ('linux', 'ParaVM'), ):
<label>
- <input ${'checked="checked"' if default == vmtype[0] else '' | n} type="radio" name="vmtype" id="vmtype-${vmtype[0]}" value="${vmtype[0]}">${vmtype[1]}</input>
+ <input ${'checked="checked"' if default == vmtype[0] else '' | n} type="radio" name="vmtype" id="vmtype-${vmtype[0]}" value="${vmtype[0]}" />${vmtype[1]}
</label>
% endfor
</%def>
</label>
% endfor
</%def>
<tr>
<td>Autoinstall${self.fn.helppopup('Autoinstalls')}</td>
<td><input type="radio" name="cd_or_auto" id="cd_or_auto_auto"
<tr>
<td>Autoinstall${self.fn.helppopup('Autoinstalls')}</td>
<td><input type="radio" name="cd_or_auto" id="cd_or_auto_auto"
- onchange="$('cdromlist').value = ''; $('vmtype-linux').checked = true">
+ onchange="$('cdromlist').value = ''; $('vmtype-linux').checked = true" />
${self.fn.autoList(defaults.cdrom, "$('cd_or_auto_auto').checked = true;$('cdromlist').value = '';$('vmtype-linux').checked = true")}
(experimental; 2-3 minutes, and you have a machine with empty root password.)
${self.fn.autoList(defaults.cdrom, "$('cd_or_auto_auto').checked = true;$('cdromlist').value = '';$('vmtype-linux').checked = true")}
(experimental; 2-3 minutes, and you have a machine with empty root password.)
</tr>
<tr>
<td>Boot CD</td>
<td><input type="radio" name="cd_or_auto" id="cd_or_auto_cd" checked="checked"
</tr>
<tr>
<td>Boot CD</td>
<td><input type="radio" name="cd_or_auto" id="cd_or_auto_cd" checked="checked"
- onchange="$('autoinstalllist').value = ''; $('vmtype-linux-hvm').checked = true">
+ onchange="$('autoinstalllist').value = ''; $('vmtype-linux-hvm').checked = true" />
${self.fn.cdromList(defaults.cdrom, "$('cd_or_auto_cd').checked = true;$('autoinstalllist').value = '';$('vmtype-linux-hvm').checked = true")}
</td>
${self.fn.cdromList(defaults.cdrom, "$('cd_or_auto_cd').checked = true;$('autoinstalllist').value = '';$('vmtype-linux-hvm').checked = true")}
</td>
</tr>
${self.fn.errorRow('cdrom', err)}
${self.fn.errorRow('cdrom', err)}
</tr>
${self.fn.errorRow('cdrom', err)}
${self.fn.errorRow('cdrom', err)}