|
12345678910111213141516171819202122232425262728293031323334353637 |
- <?php
-
- use yii\helpers\Html;
- use yii\grid\GridView;
-
- /* @var $this yii\web\View */
- /* @var $dataProvider yii\data\ActiveDataProvider */
-
- $this->title = 'Vrac';
- $this->params['breadcrumbs'][] = $this->title;
- ?>
- <div class="produit-index">
-
- <h1><?= Html::encode($this->title) ?> <?= Html::a('Ajouter', ['create'], ['class' => 'btn btn-success']) ?></h1>
-
- <?= GridView::widget([
- 'dataProvider' => $dataProvider,
- 'columns' => [
- //['class' => 'yii\grid\SerialColumn'],
-
- //'id',
- 'order',
- 'diminutif',
- 'nom',
- 'epuise',
- 'actif',
- //'illustration',
- // 'photo',
- // 'saison',
- // 'prix',
- // 'poids',
-
- ['class' => 'yii\grid\ActionColumn'],
- ],
- ]); ?>
-
- </div>
|