<?php
    $this->pageTitle = 'Битвы';
    $this->pageInfo = 'Управление ботами';
?>
<?php $this->widget('zii.widgets.grid.CGridView', array(
    'template'=>'{items} {pager}',
    'htmlOptions'=>array('class' => 'table-responsive'),
    'itemsCssClass'=>'table table-striped',
    'summaryText'=>false,
    'dataProvider'=>$model->search(),
    'pager' => array(
        'header' => '',
        'firstPageLabel' => '',
        'prevPageLabel' => '«',
        'nextPageLabel' => '»',
        'lastPageLabel' => '',                
        'htmlOptions' => array("class" => 'pagination'),
    ),
    'enableSorting'=>false,
    'columns'=>$model->getColumns(),
)); ?>
