diff options
Diffstat (limited to 'views/default/input/tel.php')
-rw-r--r-- | views/default/input/tel.php | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/views/default/input/tel.php b/views/default/input/tel.php index 973bb9311..174b4967d 100644 --- a/views/default/input/tel.php +++ b/views/default/input/tel.php @@ -1,9 +1,11 @@ <?php
+$defaults = array(
+ 'placeholder' => elgg_echo('placeholder:tel'),
+);
+
$overrides = array(
'type' => 'tel',
);
-$args = array_merge($vars, $overrides);
-
-echo elgg_view('input/default', $args);
\ No newline at end of file +echo elgg_view('input/default', array_merge($defaults, $vars, $overrides));
\ No newline at end of file |