<?php
$this->breadcrumbs=array(
    'Gate Sets'=>array('index'),
    'Manage',
);

$this->menu=array(
    array('label'=>'Create GateSet','url'=>array('create'),'auth'=>'gate_set_create'),
);
?>

<h1>Manage Gate Sets</h1>

<?php $this->widget('bootstrap.widgets.TbGridView',array(
    'id'=>'gate-set-grid',
    'dataProvider'=>$model->search(),
    'filter'=>$model,
    'columns'=>array(
		'name',
		'description',
		'epoch',
        array(
			'class'=>'bootstrap.widgets.TbButtonColumn',
		    'template'=>'{view} {update} {delete}',
            'buttons'=>array(
                'view'=>array('visible'=>"user()->checkAccess('gate_set_view')"),
                'update'=>array('visible'=>"user()->checkAccess('gate_set_update')"),
                'delete'=>array('visible'=>"user()->checkAccess('gate_set_delete')"),
            ),
		),
	),
)); ?>
