summaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorSander van Leeuwen <sander@kraagjes.nl>2015-01-29 10:47:29 +0100
committerSander van Leeuwen <sander@kraagjes.nl>2015-01-29 10:47:29 +0100
commit10322913d767c1d159a2eaa455a2058476058b9c (patch)
tree748c7e72b87ef732cfc835669cfb28794bd26f55 /README.md
parent2900b8761936dc7cd8562376a7bcbe0826dc8cee (diff)
downloadpfsense-10322913d767c1d159a2eaa455a2058476058b9c.zip
pfsense-10322913d767c1d159a2eaa455a2058476058b9c.tar.gz
Keep original PHP form example
Diffstat (limited to 'README.md')
-rw-r--r--README.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/README.md b/README.md
index c84f40c..d771bc2 100644
--- a/README.md
+++ b/README.md
@@ -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">
OpenPOWER on IntegriCloud