From bce1437d2d737e4fa94f5dd8b56e298364483070 Mon Sep 17 00:00:00 2001 From: Iain Patterson Date: Mon, 29 Apr 2013 12:20:57 -0400 Subject: [PATCH] Added form() and end_form(). Functions to start and end a form with optional classes and action URL. --- lib/forms.php | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/lib/forms.php b/lib/forms.php index af51c1c..7b707d7 100644 --- a/lib/forms.php +++ b/lib/forms.php @@ -1,5 +1,18 @@ \n"; + } + + function end_form() { + echo "\n"; + } + function input($name, $value = null, $type = null) { echo "