diff options
author | travis%sedsystems.ca <> | 2005-02-05 01:19:02 +0100 |
---|---|---|
committer | travis%sedsystems.ca <> | 2005-02-05 01:19:02 +0100 |
commit | d394693b53e364d19c67694b0635f61e34266654 (patch) | |
tree | 0e3bc53d9351b41459ee922ef1083fde58a46375 /template/en | |
parent | 431731b146257ab36e6103e84f2913d6c9c50499 (diff) | |
download | bugzilla-d394693b53e364d19c67694b0635f61e34266654.tar.gz bugzilla-d394693b53e364d19c67694b0635f61e34266654.tar.xz |
Bug 280410 : Use more <label> elements in attachment/create.html.tmpl
Patch by Anne van Kesteren <bug@annevankesteren.nl> r=GavinS a=justdave
Diffstat (limited to 'template/en')
-rw-r--r-- | template/en/default/attachment/create.html.tmpl | 17 |
1 files changed, 7 insertions, 10 deletions
diff --git a/template/en/default/attachment/create.html.tmpl b/template/en/default/attachment/create.html.tmpl index 3089c0d5f..82ad73ce1 100644 --- a/template/en/default/attachment/create.html.tmpl +++ b/template/en/default/attachment/create.html.tmpl @@ -59,17 +59,17 @@ <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> @@ -152,10 +152,10 @@ </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> @@ -166,7 +166,7 @@ </form> -<script language="JavaScript" type="text/javascript"> +<script type="text/javascript"> <!-- function setContentTypeDisabledState() { @@ -186,6 +186,3 @@ </script> [% PROCESS global/footer.html.tmpl %] - - - |