aboutsummaryrefslogtreecommitdiff
path: root/views/default/input/text.php
diff options
context:
space:
mode:
Diffstat (limited to 'views/default/input/text.php')
-rw-r--r--views/default/input/text.php7
1 files changed, 3 insertions, 4 deletions
diff --git a/views/default/input/text.php b/views/default/input/text.php
index 0993d1f2b..b84d3d16f 100644
--- a/views/default/input/text.php
+++ b/views/default/input/text.php
@@ -4,8 +4,7 @@ $defaults = array(
'placeholder' => elgg_echo('placeholder:text'),
);
-$overrides = array(
- 'type' => 'text',
-);
+$vars = array_merge($defaults, $vars);
+?>
-echo elgg_view('html/input', array_merge($defaults, $vars, $overrides)); \ No newline at end of file
+<input type="text" <?php echo html5_get_html_attributes($vars); ?> /> \ No newline at end of file