aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--views/default/input/reset.php8
1 files changed, 8 insertions, 0 deletions
diff --git a/views/default/input/reset.php b/views/default/input/reset.php
index 12866421e..d0eb06709 100644
--- a/views/default/input/reset.php
+++ b/views/default/input/reset.php
@@ -4,8 +4,16 @@
*
* @package Elgg
* @subpackage Core
+ *
+ * @uses $vars['class'] Additional CSS class
*/
+if (isset($vars['class'])) {
+ $vars['class'] = "elgg-button-cancel {$vars['class']}";
+} else {
+ $vars['class'] = "elgg-button-cancel";
+}
+
$vars['type'] = 'reset';
echo elgg_view('input/button', $vars); \ No newline at end of file