summaryrefslogtreecommitdiffstats
path: root/user_guide_src
diff options
context:
space:
mode:
authorAndrey Andreev <narf@devilix.net>2016-01-08 11:59:11 +0100
committerAndrey Andreev <narf@devilix.net>2016-01-08 11:59:39 +0100
commit8f7cc15c8856d312c091c33cadc75db0605a2829 (patch)
treed2f506a1f7b1ac48ff7adff28be3b8172db10983 /user_guide_src
parent0a9cc835b4ec7e85e0ccac04000fa889a599126e (diff)
Merge pull request #4365 from ponsfrilus/develop
[ci skip] Form helper examples missing ; at end of function calls
Diffstat (limited to 'user_guide_src')
-rw-r--r--user_guide_src/source/helpers/form_helper.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/user_guide_src/source/helpers/form_helper.rst b/user_guide_src/source/helpers/form_helper.rst
index a67dbc0bf..bc30a0e98 100644
--- a/user_guide_src/source/helpers/form_helper.rst
+++ b/user_guide_src/source/helpers/form_helper.rst
@@ -461,12 +461,12 @@ The following functions are available:
fourth parameter::
$js = 'onClick="some_function()"';
- echo form_checkbox('newsletter', 'accept', TRUE, $js)
+ echo form_checkbox('newsletter', 'accept', TRUE, $js);
Or you can pass it as an array::
$js = array('onClick' => 'some_function();');
- echo form_checkbox('newsletter', 'accept', TRUE, $js)
+ echo form_checkbox('newsletter', 'accept', TRUE, $js);
.. php:function:: form_radio([$data = ''[, $value = ''[, $checked = FALSE[, $extra = '']]]])