From 420aa2389644c3824d06df5222390cada3829f5d Mon Sep 17 00:00:00 2001 From: Janek Lasocki-Biczysko Date: Fri, 21 Oct 2011 09:08:16 +0100 Subject: #3810 (No class in input/reset view) --- views/default/input/reset.php | 8 ++++++++ 1 file changed, 8 insertions(+) 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 -- cgit v1.2.3