summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDerek Allard <derek.allard@ellislab.com>2007-07-20 01:12:49 +0200
committerDerek Allard <derek.allard@ellislab.com>2007-07-20 01:12:49 +0200
commitc2c256143d99a0e6695cb2f16d968e27ef9e9036 (patch)
tree5ac8fa330f33adb04e6761a1d0ad69fb9d46aa28
parenteb528b2272442245e657f92adfeb3979665a903b (diff)
example fix
-rw-r--r--user_guide/libraries/validation.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/user_guide/libraries/validation.html b/user_guide/libraries/validation.html
index f5ef9cef2..3532282dc 100644
--- a/user_guide/libraries/validation.html
+++ b/user_guide/libraries/validation.html
@@ -496,7 +496,7 @@ and the error messages will contain a more relevant field name.</p>
<p>If you prefer to show an error message next to each form field, rather than as a list, you can change your form so that it looks like this:</p>
-&lt;textarea class="textarea" style="width:100%" cols="50" rows="20">
+<textarea class="textarea" style="width:100%" cols="50" rows="20">
&lt;h5>Username&lt;/h5>
&lt;?=$this->validation->username_error; ?>
&lt;input type="text" name="username" value="&lt;?=$this->validation->username;?>" size="50" />
@@ -511,7 +511,7 @@ and the error messages will contain a more relevant field name.</p>
&lt;h5>Email Address&lt;/h5>
&lt;?=$this->validation->email_error; ?>
-&lt;input type="text" name="email" value="&lt;?=$this->validation->email;?>" size="50" />&lt;/textarea>
+&lt;input type="text" name="email" value="&lt;?=$this->validation->email;?>" size="50" /></textarea>
<p>If there are no errors, nothing will be shown. If there is an error, the message will appear, wrapped in the delimiters you
have set (&lt;p> tags by default).</p>