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.php9
1 files changed, 3 insertions, 6 deletions
diff --git a/views/default/input/url.php b/views/default/input/url.php
index 60d8820e7..a0851f4d9 100644
--- a/views/default/input/url.php
+++ b/views/default/input/url.php
@@ -4,10 +4,7 @@ $defaults = array(
'placeholder' => elgg_echo('placeholder:url'),
);
-$overrides = array(
- 'type' => 'url',
-);
-
-$args = array_merge($vars, $overrides);
+$vars = array_merge($defaults, $vars);
+?>
-echo elgg_view('html/input', $args); \ No newline at end of file
+<input type="url" <?php echo html5_get_html_attributes($vars); ?> /> \ No newline at end of file