Set proper label 'for' values.

Project: http://git-wip-us.apache.org/repos/asf/wicket/repo
Commit: http://git-wip-us.apache.org/repos/asf/wicket/commit/13c6270b
Tree: http://git-wip-us.apache.org/repos/asf/wicket/tree/13c6270b
Diff: http://git-wip-us.apache.org/repos/asf/wicket/diff/13c6270b

Branch: refs/heads/master
Commit: 13c6270b957372fee4daf16b40855287c5fb4b88
Parents: 6991fad
Author: Martin Tzvetanov Grigorov <[email protected]>
Authored: Tue Oct 16 13:13:09 2012 +0200
Committer: Martin Tzvetanov Grigorov <[email protected]>
Committed: Tue Oct 16 13:13:09 2012 +0200

----------------------------------------------------------------------
 .../apache/wicket/examples/upload/UploadPage.html  |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/wicket/blob/13c6270b/wicket-examples/src/main/java/org/apache/wicket/examples/upload/UploadPage.html
----------------------------------------------------------------------
diff --git 
a/wicket-examples/src/main/java/org/apache/wicket/examples/upload/UploadPage.html
 
b/wicket-examples/src/main/java/org/apache/wicket/examples/upload/UploadPage.html
index 1516aee..de97018 100644
--- 
a/wicket-examples/src/main/java/org/apache/wicket/examples/upload/UploadPage.html
+++ 
b/wicket-examples/src/main/java/org/apache/wicket/examples/upload/UploadPage.html
@@ -16,8 +16,8 @@
         <fieldset>
          <legend>Upload form</legend>
        <p>
-           <label for="upload">File</label>
-           <input wicket:id="fileInput" type="file" />
+           <label for="simpleUpload">File</label>
+           <input wicket:id="fileInput" type="file" id="simpleUpload"/>
            </p>
            <input type="submit" value="Upload!"/>
         </fieldset>
@@ -27,8 +27,8 @@
         <fieldset>
          <legend>Upload form with progress bar</legend>
        <p>
-           <label for="upload">File</label>
-           <input wicket:id="fileInput" type="file"/>
+           <label for="uploadWithProgress">File</label>
+           <input wicket:id="fileInput" type="file" id="uploadWithProgress"/>
            </p>
            <input type="submit" value="Upload!"/>
            <span wicket:id="progress">[[upload progressbar]]</span>
@@ -40,8 +40,8 @@
          <legend>Upload form that uses HTML5 &lt;input type="file" 
<strong>multiple</strong> /&gt;, so it can upload
                more than one file in browsers which support <em>multiple</em> 
attribute</legend>
        <p>
-           <label>File</label>
-           <input wicket:id="fileInput" type="file" multiple="multiple" />
+           <label for="multiUpload">File</label>
+           <input wicket:id="fileInput" type="file" multiple="multiple" 
id="multiUpload"/>
            </p>
            <input type="submit" value="Upload!"/>
         </fieldset>

Reply via email to