]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 280410 : Use more <label> elements in attachment/create.html.tmpl
authortravis%sedsystems.ca <>
Sat, 5 Feb 2005 00:19:02 +0000 (00:19 +0000)
committertravis%sedsystems.ca <>
Sat, 5 Feb 2005 00:19:02 +0000 (00:19 +0000)
Patch by Anne van Kesteren <bug@annevankesteren.nl>   r=GavinS  a=justdave

template/en/default/attachment/create.html.tmpl

index 3089c0d5fa629a1057d60465a8cdab26d1ec0008..82ad73ce17b75e021a4c669ca3fba2ab2b311d4d 100644 (file)
 
   <table class="attachment_entry">
     <tr>
-      <th>File:</th>
+      <th><label for="data">File:</label></th>
       <td>
         <em>Enter the path to the file on your computer.</em><br>
-        <input type="file" name="data" size="50">
+        <input type="file" id="data" name="data" size="50">
       </td>
     </tr>
     <tr>
-      <th>Description:</th>
+      <th><label for="description">Description:</label></th>
       <td>
         <em>Describe the attachment briefly.</em><br>
-        <input type="text" name="description" size="60" maxlength="200">
+        <input type="text" id="description" name="description" size="60" maxlength="200">
       </td>
     </tr>
     <tr>
       </td>
     </tr>
     <tr>
-      <th>Comment:</th>
+      <th><label for="comment">Comment:</label></th>
       <td>
         <em>(optional) Add a comment about this attachment to the [% terms.bug %].</em><br>
-        <textarea wrap="soft" name="comment" rows="6" cols="80"></textarea>
+        <textarea wrap="soft" id="commment" name="comment" rows="6" cols="80"></textarea>
       </td>
     </tr>
     <tr>
 
 </form>
 
-<script language="JavaScript" type="text/javascript">
+<script type="text/javascript">
   <!--
   function setContentTypeDisabledState()
   {
 </script>
 
 [% PROCESS global/footer.html.tmpl %]
-
-
-