summaryrefslogtreecommitdiff
path: root/lib/helper.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/helper.php')
-rw-r--r--lib/helper.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/helper.php b/lib/helper.php
index 22121015..50071be1 100644
--- a/lib/helper.php
+++ b/lib/helper.php
@@ -230,3 +230,8 @@ function form_date($name, $values = array(), array $errors = array(), array $att
{
return form_input('date', $name, $values, $errors, $attributes, $class);
}
+
+function form_number($name, $values = array(), array $errors = array(), array $attributes = array(), $class = '')
+{
+ return form_input('number', $name, $values, $errors, $attributes, $class);
+}