title = 'Pages'; $this->params['breadcrumbs'][] = $this->title; ?>
= Html::a('Create Page', ['create'], ['class' => 'btn btn-success']) ?>
= GridView::widget([ 'dataProvider' => $dataProvider, 'columns' => [ ['class' => 'yii\grid\SerialColumn'], 'id', 'status', 'menu', 'created', 'updated', //'create_user_id', //'update_user_id', //'parent_id', //'title', //'title_menu', //'title_seo', //'description_seo', //'keywords_seo', //'key', //'norder', //'path', //'content:ntext', //'index_controller', //'index_action', //'view_controller', //'view_action', //'index_params', //'lang', //'layout', [ 'class' => ActionColumn::className(), 'urlCreator' => function ($action, Page $model, $key, $index, $column) { return Url::toRoute([$action, 'id' => $model->id]); } ], ], ]); ?>