aboutsummaryrefslogtreecommitdiff
path: root/views/default/input/reset.php
blob: d1296e4bfe9ddff37fa4644511901a49648e9fc2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<?php
/**
 * Create a reset 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.
 *
 * @package Elgg
 * @subpackage Core
 */

$vars['type'] = 'reset';

echo elgg_view('input/button', $vars);