diff options
author | Sander van Leeuwen <sander@kraagjes.nl> | 2015-01-29 10:47:29 +0100 |
---|---|---|
committer | Sander van Leeuwen <sander@kraagjes.nl> | 2015-01-29 10:47:29 +0100 |
commit | 10322913d767c1d159a2eaa455a2058476058b9c (patch) | |
tree | 748c7e72b87ef732cfc835669cfb28794bd26f55 /README.md | |
parent | 2900b8761936dc7cd8562376a7bcbe0826dc8cee (diff) | |
download | pfsense-10322913d767c1d159a2eaa455a2058476058b9c.zip pfsense-10322913d767c1d159a2eaa455a2058476058b9c.tar.gz |
Keep original PHP form example
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -66,7 +66,7 @@ After determining the proper layout for forms we decided to create wrappers in P require('classes/Form.class.php'); $form = new Form; -$section = new Form_Section('Form or panel heading'); +$section = new Form_Section('System'); $section->addInput(new Form_Input( 'Hostname', @@ -91,7 +91,7 @@ print $form; Please make sure the referenced $_POST fields in the php-code above this code are also updated since they are automatically generated -The PHP code above will result in something like this (with everything but relevant Bootstrap classes omitted for this example): +The PHP code will output HTML something like this (with everything but relevant Bootstrap classes omitted for this example): ```html <form class="form-horizontal"> |