diff options
Diffstat (limited to 'views/default/input/number.php')
-rw-r--r-- | views/default/input/number.php | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/views/default/input/number.php b/views/default/input/number.php index 908e9382e..ec4938734 100644 --- a/views/default/input/number.php +++ b/views/default/input/number.php @@ -1 +1,11 @@ -<input type="number" <?php echo elgg_format_attributes($vars); ?> />
\ No newline at end of file +<?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 |