aboutsummaryrefslogtreecommitdiff
path: root/views/default/input/checkbox.php
blob: 32bc323fddf4b1e3004ec862b1fff1140a93214a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<?php
/**
 * Elgg checkbox input
 * Displays a checkbox input field
 * 
 * @package Elgg
 * @subpackage Core
 */

$defaults = array(
	'class' => 'input_checkbox',
);

$vars = array_merge($defaults, $vars);

?>

<input type="checkbox" <?php echo elgg_format_attributes($vars); ?> />