|
|
@ -7,22 +7,25 @@ use iron\grid\GridView; |
|
|
|
/* @var $searchModel backend\modules\shop\models\searchs\CommentSearch */ |
|
|
|
/* @var $dataProvider yii\data\ActiveDataProvider */ |
|
|
|
|
|
|
|
$this->title = 'Comments'; |
|
|
|
$this->title = '评论'; |
|
|
|
$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" => "comment/deletes" |
|
|
|
], |
|
|
|
'dataProvider' => $dataProvider, |
|
|
|
'filter' => $this->render("_search", ['model' => $searchModel]), |
|
|
|
'batch' => [ |
|
|
|
[ |
|
|
|
"label" => "删除", |
|
|
|
"url" => "comment/deletes" |
|
|
|
], |
|
|
|
'columns' => $columns |
|
|
|
]); |
|
|
|
], |
|
|
|
'columns' => $columns, |
|
|
|
'batchTemplate' => '', |
|
|
|
'create' => '', |
|
|
|
'export' => '', |
|
|
|
]); |
|
|
|
?>
|
|
|
|
</div> |
|
|
|
</div> |