diff options
author | vlakoff <vlakoff@gmail.com> | 2013-07-29 08:31:51 +0200 |
---|---|---|
committer | vlakoff <vlakoff@gmail.com> | 2013-07-29 08:31:51 +0200 |
commit | ed670246fa70d0156b561c56291b8bd58aa9df34 (patch) | |
tree | 97937ab3c884e559adb3e746518d2478bd01b8d8 /user_guide_src | |
parent | bb8b08982369dd6a2d321844dced488f92134f20 (diff) |
Change spaces to tabs
Diffstat (limited to 'user_guide_src')
-rw-r--r-- | user_guide_src/source/helpers/form_helper.rst | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/user_guide_src/source/helpers/form_helper.rst b/user_guide_src/source/helpers/form_helper.rst index 8f7515788..f49027baa 100644 --- a/user_guide_src/source/helpers/form_helper.rst +++ b/user_guide_src/source/helpers/form_helper.rst @@ -264,10 +264,10 @@ multiple select for you. Example:: $options = array( - 'small' => 'Small Shirt', - 'med' => 'Medium Shirt', - 'large' => 'Large Shirt', - 'xlarge' => 'Extra Large Shirt', + 'small' => 'Small Shirt', + 'med' => 'Medium Shirt', + 'large' => 'Large Shirt', + 'xlarge' => 'Extra Large Shirt', ); $shirts_on_sale = array('small', 'large'); @@ -416,11 +416,11 @@ Similar to the other form functions in this helper, you can also pass an array of attributes to the function:: $data = array( - 'name' => 'newsletter', - 'id' => 'newsletter', - 'value' => 'accept', - 'checked' => TRUE, - 'style' => 'margin:10px' + 'name' => 'newsletter', + 'id' => 'newsletter', + 'value' => 'accept', + 'checked' => TRUE, + 'style' => 'margin:10px' ); echo form_checkbox($data); @@ -527,11 +527,11 @@ Or you can pass an associative array containing any data you wish your form to contain:: $data = array( - 'name' => 'button', - 'id' => 'button', - 'value' => 'true', - 'type' => 'reset', - 'content' => 'Reset' + 'name' => 'button', + 'id' => 'button', + 'value' => 'true', + 'type' => 'reset', + 'content' => 'Reset' ); echo form_button($data); |