aboutsummaryrefslogtreecommitdiff
path: root/views/default/input/tel.php
diff options
context:
space:
mode:
authorEvan Winslow <evan@elgg.org>2011-05-19 15:59:07 -0700
committerEvan Winslow <evan@elgg.org>2011-05-19 15:59:07 -0700
commit1b1908d4c05392d07b0a0af086a567cbc53606ba (patch)
treed2a484e8a84dd5cb863f1d56ad43fc3f9e7ba3c3 /views/default/input/tel.php
parentba3410e1ed5b8a23214b14f0fd0ce8c55c35391d (diff)
downloadelgg-1b1908d4c05392d07b0a0af086a567cbc53606ba.tar.gz
elgg-1b1908d4c05392d07b0a0af086a567cbc53606ba.tar.bz2
Cleaned up all the input views
Diffstat (limited to 'views/default/input/tel.php')
-rw-r--r--views/default/input/tel.php7
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