Changeset 2794 for trunk


Ignore:
Timestamp:
Dec 27, 2009, 7:25:09 PM (15 years ago)
Author:
broder
Message:

Add label tags to group <input> tags with their labels. Also add
missing </td> tags.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/packages/invirt-web/code/templates/list.mako

    r2792 r2794  
    5454        <tr>
    5555          <td>Autoinstall${self.fn.helppopup('Autoinstalls')}</td>
    56           <td><input type="radio" name="cd_or_auto" id="cd_or_auto_auto"
     56          <td><label><input type="radio" name="cd_or_auto" id="cd_or_auto_auto"
    5757                 onchange="$('cdromlist').value = ''; $('vmtype-linux').checked = true" />
    5858${self.fn.autoList(defaults.cdrom, "$('cd_or_auto_auto').checked = true;$('cdromlist').value = '';$('vmtype-linux').checked = true")}
    5959              (experimental; 2-3 minutes, and you have a machine with empty root password.)
     60</label></td>
    6061        </tr>
    6162        <tr>
    6263          <td>Boot CD</td>
    63           <td><input type="radio" name="cd_or_auto" id="cd_or_auto_cd" checked="checked"
     64          <td><label><input type="radio" name="cd_or_auto" id="cd_or_auto_cd" checked="checked"
    6465                onchange="$('autoinstalllist').value = ''; $('vmtype-linux-hvm').checked = true" />
    6566${self.fn.cdromList(defaults.cdrom, "$('cd_or_auto_cd').checked = true;$('autoinstalllist').value = '';$('vmtype-linux-hvm').checked = true")}
    66 </td>
     67</label></td>
    6768        </tr>
    6869        ${self.fn.errorRow('cdrom', err)}
Note: See TracChangeset for help on using the changeset viewer.