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

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

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