diff options
Diffstat (limited to 'views/default/input/tel.php')
-rw-r--r-- | views/default/input/tel.php | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/views/default/input/tel.php b/views/default/input/tel.php index 329554501..0704344a8 100644 --- a/views/default/input/tel.php +++ b/views/default/input/tel.php @@ -1,9 +1,12 @@ <?php
$defaults = array(
- 'placeholder' => elgg_echo('placeholder:tel'),
+ 'class' => 'elgg-input-tel',
);
$vars = array_merge($defaults, $vars);
+
+$vars['type'] = 'tel';
+
?>
-<input type="tel" <?php echo elgg_format_attributes($vars); ?> />
\ No newline at end of file +<input <?php echo elgg_format_attributes($vars); ?> />
\ No newline at end of file |