title = Yii::t('slider', 'Slider'); $this->params['breadcrumbs'][] = $this->title; ?>
'btn btn-success btn-sm']) ?>
$dataProvider, 'columns' => [ [ 'attribute' => 'id', 'options' => ['style' => 'width: 100px;'], 'contentOptions' => ['class' => 'text-center'], ], [ 'attribute' => 'title', 'value' => function (Slider $model) { return Html::a(Html::encode($model->title), ['view', 'id' => $model->id]); }, 'format' => 'raw', ], [ 'class' => ActionColumn::class, 'options' => ['style' => 'width: 100px;'], 'contentOptions' => ['class' => 'text-center'], ], ], ]); ?>