diff options
Diffstat (limited to 'views/default/input/submit.php')
-rw-r--r-- | views/default/input/submit.php | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/views/default/input/submit.php b/views/default/input/submit.php index a0cd1cfac..4c86f6c66 100644 --- a/views/default/input/submit.php +++ b/views/default/input/submit.php @@ -4,10 +4,7 @@ $defaults = array( 'value' => elgg_echo('submit'),
);
-$overrides = array(
- 'type' => 'submit',
-);
-
-$args = array_merge($vars, $overrides);
+$vars = array_merge($defaults, $vars);
+?>
-echo elgg_view('html/input', $args);
\ No newline at end of file +<input type="submit" <?php echo html5_get_html_attributes($vars); ?> />
\ No newline at end of file |