small fixes

This commit is contained in:
2015-09-21 09:36:44 +02:00
parent b68c2dd20b
commit 8890727862
7 changed files with 20 additions and 22 deletions

View File

@@ -21,7 +21,6 @@ $this->params['breadcrumbs'][] = $this->title;
<?= GridView::widget([
'dataProvider' => $dataProvider,
'filterModel' => $searchModel,
'columns' => [
'name',
[
@@ -36,7 +35,10 @@ $this->params['breadcrumbs'][] = $this->title;
'created_at:datetime',
'updated_at:datetime',
['class' => 'yii\grid\ActionColumn'],
[
'class' => 'yii\grid\ActionColumn',
'template' => '{view} {update}'
],
],
]); ?>