title = 'Authors'; $this->params['breadcrumbs'][] = $this->title; ?>

title) ?>

'btn btn-success']) ?>

render('_search', ['model' => $searchModel]); ?> $dataProvider, 'filterModel' => $searchModel, 'layout' => "{errors}\n{pager}\n{items}\n{pager}\n{summary}", 'pager' => [ 'prevPageCssClass' => 'page-item', 'firstPageLabel' => 'Начало', 'lastPageLabel' => 'Конец', 'linkOptions' => [ 'class'=>'page-link'], 'pageCssClass' => 'page-item', 'disabledListItemSubTagOptions' => ['tag' => 'a', 'class' => 'page-link'], ], 'columns' => [ [ 'attribute' => 'id', 'value' => 'id', 'contentOptions'=>['style'=>'width: 30px;'] ], 'uid', 'name', 'url:url', 'jobTitle', //'phone', [ 'attribute' => 'active', 'value' => 'active', 'contentOptions'=>['style'=>'width: 30px;'] ], [ 'class' => ActionColumn::className(), 'buttonOptions' => ['class' => 'btn btn-default'], 'contentOptions'=>['style'=>'min-width: 100px;'], 'visibleButtons' =>[ 'delete' => false, ], 'urlCreator' => function ($action, Authors $model, $key, $index, $column) { return Url::toRoute([$action, 'id' => $model->id]); } ], ], ]); ?>