diff options
author | Derek Allard <derek.allard@ellislab.com> | 2009-02-10 15:00:34 +0100 |
---|---|---|
committer | Derek Allard <derek.allard@ellislab.com> | 2009-02-10 15:00:34 +0100 |
commit | 904094a177488edeacbe8e184d788c286c3e3d9f (patch) | |
tree | c07e2645f598732f33a6817060bf946e6ac7c7fd /user_guide/helpers/form_helper.html | |
parent | 54273ce2807ba2d9ecb67f24e2700c22c59fdb53 (diff) |
Changed the default "type" of form_button() to "button" from "submit" in the form helper.
Diffstat (limited to 'user_guide/helpers/form_helper.html')
-rw-r--r-- | user_guide/helpers/form_helper.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/user_guide/helpers/form_helper.html b/user_guide/helpers/form_helper.html index 8504ac02f..ae3b07e53 100644 --- a/user_guide/helpers/form_helper.html +++ b/user_guide/helpers/form_helper.html @@ -350,7 +350,7 @@ fourth parameter:</p> echo form_button('name','content');<br /> <br /> // Would produce<br /> -<button name="name" type="submit">Content</button> +<button name="name" type="button">Content</button> </code> Or you can pass an associative array containing any data you wish your form to contain: |