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