"
  • {link}
  • \n", // template for all links 'links' => [ [ 'label' => 'Файли', 'url' => ['files/', 'id' => $model->id], 'template' => "
  • {link}
  • \n", // template for this link only ], ['label' => $model->id,] ], ]); //$this->params['breadcrumbs'][] = ['label' => Yii::t('app', 'Files'), 'url' => ['index']]; //$this->params['breadcrumbs'][] = $this->title; //$this->title = $model->user->username. ' | '. $model->user->email; ?>
    $model, 'attributes' => [ 'id', 'path', 'name', [ 'attribute' => 'user_id', 'value'=> function(Files $e) { return $e->user->username .' | '. $e->user->email; } ], //'user_id', 'auction_id', 'lot_id', 'date' ], ]) ?>

    $model->id], [ 'class' => 'btn btn-danger', 'data' => [ 'confirm' => Yii::t('app', 'Are you sure you want to delete this item?'), 'method' => 'post', ], ]) ?> $model->id], [ 'class' => 'btn btn-success', 'data' => [ 'confirm' => Yii::t('app', 'Are you sure you want to download this item?'), 'method' => 'post', ], ]) ?>