From 10322913d767c1d159a2eaa455a2058476058b9c Mon Sep 17 00:00:00 2001 From: Sander van Leeuwen Date: Thu, 29 Jan 2015 10:47:29 +0100 Subject: Keep original PHP form example --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'README.md') 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
-- cgit v1.1