Skip to content

Commit 0a4d1f5

Browse files
author
Paolo Pustorino
committed
Updated README to match new syntax
1 parent ad8c5f8 commit 0a4d1f5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.markdown

+3-3
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,14 @@ Create a controller named at your wish, and add the following code to it:
1212

1313
$myform->set_action('home')
1414
->add_file_field('image','Upload image')
15-
->add_group('account')
15+
->add_fieldset('account')
1616
->add_text_field('username', 'Username', 'trim|required|minlength[5]|xss_clean')
1717
->add_password_field('password')
1818
->add_email_field('email')
19-
->add_group('profile', 'Your Profile')
19+
->add_fieldset('profile', 'Your Profile')
2020
->add_text_field('name', 'First Name')
2121
->add_checkbox('happy', 'I am happy', 'yes', '', TRUE, array('class'=>'check happy', 'id'=>'mycheck'))
22-
->close_group()
22+
->close_fieldset()
2323
->add_checkboxes('foos', 'Foos list', array(
2424
array (
2525
'label' => 'Foo 1',

0 commit comments

Comments
 (0)