diff options
Diffstat (limited to 'mod/html5/views/default/input/number.php')
-rw-r--r-- | mod/html5/views/default/input/number.php | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/mod/html5/views/default/input/number.php b/mod/html5/views/default/input/number.php new file mode 100644 index 000000000..ec4938734 --- /dev/null +++ b/mod/html5/views/default/input/number.php @@ -0,0 +1,11 @@ +<?php
+$defaults = array(
+ 'class' => 'elgg-input-number',
+);
+
+$vars = array_merge($defaults, $vars);
+
+$vars['type'] = 'number';
+
+?>
+<input <?php echo elgg_format_attributes($vars); ?> />
\ No newline at end of file |