summaryrefslogtreecommitdiffstats
path: root/user_guide
diff options
context:
space:
mode:
authorDerek Allard <derek.allard@ellislab.com>2008-04-22 13:20:31 +0200
committerDerek Allard <derek.allard@ellislab.com>2008-04-22 13:20:31 +0200
commit17a711ad54290dcaa649cadd72c694f46cf1098f (patch)
treed05f30a3ce1b315697ee275786ef1dfbfc3f4380 /user_guide
parent866b8138c5f51b0ca544dd8a91c265d9200acab8 (diff)
<label for="item"> not <label id="item">
Diffstat (limited to 'user_guide')
-rw-r--r--user_guide/helpers/form_helper.html4
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 />
-&lt;label id=&quot;username&quot;&gt;What is your Name&lt;/label&gt;</code>
+&lt;label for=&quot;username&quot;&gt;What is your Name&lt;/label&gt;</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 />
&nbsp;&nbsp;&nbsp;&nbsp;'class' =&gt; 'mycustomclass',<br />
@@ -337,7 +337,7 @@ fourth parameter:</p>
echo form_label('What is your Name', 'username', $attributes);<br />
<br />
// Would produce: <br />
-&lt;label id=&quot;username&quot; class=&quot;mycustomclass&quot; style=&quot;color: #000;&quot;&gt;What is your Name&lt;/label&gt;</code></p>
+&lt;label for=&quot;username&quot; class=&quot;mycustomclass&quot; style=&quot;color: #000;&quot;&gt;What is your Name&lt;/label&gt;</code></p>
<h2>form_reset()</h2>
<p>Lets you generate a standard reset button. Use is identical to <dfn>form_submit()</dfn>.</p>