Changed the default "type" of form_button() to "button" from "submit" in the form helper.
diff --git a/user_guide/helpers/form_helper.html b/user_guide/helpers/form_helper.html
index 8504ac0..ae3b07e 100644
--- a/user_guide/helpers/form_helper.html
+++ b/user_guide/helpers/form_helper.html
@@ -350,7 +350,7 @@
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:
diff --git a/user_guide/helpers/html_helper.html b/user_guide/helpers/html_helper.html
index fd92f4d..e6a6527 100644
--- a/user_guide/helpers/html_helper.html
+++ b/user_guide/helpers/html_helper.html
@@ -166,6 +166,11 @@
<code>
$this->load->helper('html');<br />
<br />
+$attributes = array(<br />
+ 'class' => 'boldlist',<br />
+ 'id' => 'mylist'<br />
+ );<br />
+<br />
$list = array(<br />
'colors' => array(<br />
'red',<br />
@@ -197,7 +202,7 @@
);<br />
<br />
<br />
-echo ul($list);</code>
+echo ul($list, $attributes);</code>
<p>The above code will produce this:</p>