aboutsummaryrefslogtreecommitdiff
path: root/views/default/input/url.php
diff options
context:
space:
mode:
Diffstat (limited to 'views/default/input/url.php')
-rw-r--r--views/default/input/url.php7
1 files changed, 5 insertions, 2 deletions
diff --git a/views/default/input/url.php b/views/default/input/url.php
index d42d7c056..ed3cd08a2 100644
--- a/views/default/input/url.php
+++ b/views/default/input/url.php
@@ -1,10 +1,13 @@
<?php
$defaults = array(
- 'placeholder' => elgg_echo('placeholder:url'),
+ 'class' => 'elgg-input-url',
);
$vars = array_merge($defaults, $vars);
+
+$vars['type'] = 'url';
+
?>
-<input type="url" <?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