Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

38 rindas
933B

  1. <?php
  2. use yii\helpers\Html;
  3. use yii\widgets\DetailView;
  4. /* @var $this yii\web\View */
  5. /* @var $model backend\models\PointVente */
  6. $this->title = $model->id;
  7. $this->params['breadcrumbs'][] = ['label' => 'Point Ventes', 'url' => ['index']];
  8. $this->params['breadcrumbs'][] = $this->title;
  9. ?>
  10. <div class="point-vente-view">
  11. <h1><?= Html::encode($this->title) ?></h1>
  12. <p>
  13. <?= Html::a('Update', ['update', 'id' => $model->id], ['class' => 'btn btn-primary']) ?>
  14. <?= Html::a('Delete', ['delete', 'id' => $model->id], [
  15. 'class' => 'btn btn-danger',
  16. 'data' => [
  17. 'confirm' => 'Are you sure you want to delete this item?',
  18. 'method' => 'post',
  19. ],
  20. ]) ?>
  21. </p>
  22. <?= DetailView::widget([
  23. 'model' => $model,
  24. 'attributes' => [
  25. 'id',
  26. 'nom',
  27. 'adresse:ntext',
  28. ],
  29. ]) ?>
  30. </div>