|
|
<?php
use yii\helpers\Html; use iron\grid\GridView;
//use yii\grid\GridView;
/* @var $this yii\web\View */ /* @var $searchModel common\models\CategorySearch */ /* @var $dataProvider yii\data\ActiveDataProvider */
$this->title = 'Categories'; $this->params['breadcrumbs'][] = $this->title;
?>
<div class="row"> <div class="col-12"> <?= GridView::widget([ 'dataProvider' => $dataProvider, 'filter' => $this->render("_search", ['model' => $searchModel]), 'batch' => [ [ "label" => "删除", "url" => "/category/deletes" ], [ "label" => "其它操作", "url" => "/category/others" ], ], 'columns' => $columns ]); ?>
</div> </div>
|