aboutsummaryrefslogtreecommitdiff
path: root/views/default/input/submit.php
diff options
context:
space:
mode:
Diffstat (limited to 'views/default/input/submit.php')
-rw-r--r--views/default/input/submit.php5
1 files changed, 2 insertions, 3 deletions
diff --git a/views/default/input/submit.php b/views/default/input/submit.php
index 315a70eac..39734b807 100644
--- a/views/default/input/submit.php
+++ b/views/default/input/submit.php
@@ -1,6 +1,8 @@
<?php
/**
* Create a submit input button
+ *
+ * @todo ... huh?
* Use this view for forms rather than creating a submit/reset button tag in the wild as it provides
* extra security which help prevent CSRF attacks.
*
@@ -9,8 +11,5 @@
*/
$vars['type'] = 'submit';
-if (!isset($vars['class'])) {
- $vars['class'] = "submit_button";
-}
echo elgg_view('input/button', $vars); \ No newline at end of file