From a43a50190fe20cb3b41498eef4a4b7c34b197c8f Mon Sep 17 00:00:00 2001 From: Malf Furious Date: Mon, 26 Jun 2017 00:09:37 -0400 Subject: Add basic form control templates --- app/view/formctrl.php | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 app/view/formctrl.php (limited to 'app/view/formctrl.php') diff --git a/app/view/formctrl.php b/app/view/formctrl.php new file mode 100644 index 0000000..deac491 --- /dev/null +++ b/app/view/formctrl.php @@ -0,0 +1,32 @@ + + + +
+ + /> +
+ + + +
+ + /> +
+ -- cgit v1.2.3 From c8d6725f2dfb378c744c569df1b9981623808c87 Mon Sep 17 00:00:00 2001 From: Malf Furious Date: Tue, 27 Jun 2017 01:26:33 -0400 Subject: Reformat view helper modules To limit whitespace being piped to the client, remove empty lines of free HTML between PHP functions defined in view files. To maintain readability, this spacing is added back at the top and bottom of each PHP function. --- app/view/formctrl.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'app/view/formctrl.php') diff --git a/app/view/formctrl.php b/app/view/formctrl.php index deac491..ee0243f 100644 --- a/app/view/formctrl.php +++ b/app/view/formctrl.php @@ -18,15 +18,18 @@ namespace formctrl; +
/>
- + +
/>
+ -- cgit v1.2.3 From ef3e1c66e8a233c1ee44fbfaa9ef665bec1ffea9 Mon Sep 17 00:00:00 2001 From: Malf Furious Date: Tue, 27 Jun 2017 01:31:20 -0400 Subject: Add formname template to formctrl view --- app/view/formctrl.php | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'app/view/formctrl.php') diff --git a/app/view/formctrl.php b/app/view/formctrl.php index ee0243f..3683eb4 100644 --- a/app/view/formctrl.php +++ b/app/view/formctrl.php @@ -15,7 +15,11 @@ namespace formctrl; ?> + + + + -- cgit v1.2.3