You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

преди 6 години
12345678910111213141516171819202122232425262728293031323334353637
  1. <?php
  2. use yii\helpers\Html;
  3. use yii\grid\GridView;
  4. /* @var $this yii\web\View */
  5. /* @var $dataProvider yii\data\ActiveDataProvider */
  6. $this->title = 'Vrac';
  7. $this->params['breadcrumbs'][] = $this->title;
  8. ?>
  9. <div class="produit-index">
  10. <h1><?= Html::encode($this->title) ?> <?= Html::a('Ajouter', ['create'], ['class' => 'btn btn-success']) ?></h1>
  11. <?= GridView::widget([
  12. 'dataProvider' => $dataProvider,
  13. 'columns' => [
  14. //['class' => 'yii\grid\SerialColumn'],
  15. //'id',
  16. 'order',
  17. 'diminutif',
  18. 'nom',
  19. 'epuise',
  20. 'actif',
  21. //'illustration',
  22. // 'photo',
  23. // 'saison',
  24. // 'prix',
  25. // 'poids',
  26. ['class' => 'yii\grid\ActionColumn'],
  27. ],
  28. ]); ?>
  29. </div>