Blame view

backend/views/details-description/index.php 820 Bytes
816a590c   Mihail   add details descr...
1
2
3
4
5
6
7
8
9
  <?php
  
  use yii\helpers\Html;
  use yii\grid\GridView;
  
  /* @var $this yii\web\View */
  /* @var $searchModel common\models\DetailsDescriptionSearch */
  /* @var $dataProvider yii\data\ActiveDataProvider */
  
edfa67b1   Mihail   add delete price ...
10
  $this->title = Yii::t('app', 'Карточки товаров');
816a590c   Mihail   add details descr...
11
12
13
14
15
16
17
  $this->params['breadcrumbs'][] = $this->title;
  ?>
  <div class="details-description-index">
  
      <h1><?= Html::encode($this->title) ?></h1>
      <?php // echo $this->render('_search', ['model' => $searchModel]); ?>
  
816a590c   Mihail   add details descr...
18
19
20
21
22
23
  
      <?= GridView::widget([
          'dataProvider' => $dataProvider,
          'filterModel' => $searchModel,
          'columns' => [
              ['class' => 'yii\grid\SerialColumn'],
816a590c   Mihail   add details descr...
24
25
              'name',
              'brand',
edfa67b1   Mihail   add delete price ...
26
27
              ['class' => 'yii\grid\ActionColumn',
                  'template' => '{view}'],
816a590c   Mihail   add details descr...
28
29
30
31
          ],
      ]); ?>
  
  </div>