aboutsummaryrefslogtreecommitdiff
path: root/views/default/input/reset.php
blob: d0eb0670964475eee76c98b6f681f01c4e7f0e18 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<?php
/**
 * Create a reset input button
 *
 * @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);