diff options
author | Derek Allard <derek.allard@ellislab.com> | 2008-04-22 13:20:31 +0200 |
---|---|---|
committer | Derek Allard <derek.allard@ellislab.com> | 2008-04-22 13:20:31 +0200 |
commit | 17a711ad54290dcaa649cadd72c694f46cf1098f (patch) | |
tree | d05f30a3ce1b315697ee275786ef1dfbfc3f4380 | |
parent | 866b8138c5f51b0ca544dd8a91c265d9200acab8 (diff) |
<label for="item"> not <label id="item">
-rw-r--r-- | user_guide/helpers/form_helper.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/user_guide/helpers/form_helper.html b/user_guide/helpers/form_helper.html index fa96424e1..10019291c 100644 --- a/user_guide/helpers/form_helper.html +++ b/user_guide/helpers/form_helper.html @@ -328,7 +328,7 @@ fourth parameter:</p> <br />
// Would produce:
<br />
-<label id="username">What is your Name</label></code>
+<label for="username">What is your Name</label></code>
<p>Similar to other functions, you can submit an associative array in the third parameter if you prefer to set additional attributes. </p>
<p><code>$attributes = array(<br />
'class' => 'mycustomclass',<br />
@@ -337,7 +337,7 @@ fourth parameter:</p> echo form_label('What is your Name', 'username', $attributes);<br />
<br />
// Would produce: <br />
-<label id="username" class="mycustomclass" style="color: #000;">What is your Name</label></code></p>
+<label for="username" class="mycustomclass" style="color: #000;">What is your Name</label></code></p>
<h2>form_reset()</h2>
<p>Lets you generate a standard reset button. Use is identical to <dfn>form_submit()</dfn>.</p>
|