view.php 870 B

12345678910111213141516171819202122232425262728293031323334353637
  1. <?php
  2. use yii\helpers\Html;
  3. use yii\widgets\DetailView;
  4. /* @var $this yii\web\View */
  5. /* @var $model common\models\UserCar */
  6. $this->title = $model->id;
  7. $this->params['breadcrumbs'][] = ['label' => Yii::t('common', 'User Cars'), 'url' => ['index']];
  8. $this->params['breadcrumbs'][] = $this->title;
  9. ?>
  10. <div class="box box-success">
  11. <div class="box-body">
  12. <?= DetailView::widget([
  13. 'model' => $model,
  14. 'attributes' => [
  15. 'id',
  16. 'user_id',
  17. 'plate_no',
  18. 'owner',
  19. 'address',
  20. 'issue_date',
  21. 'vehicle_type',
  22. 'use_character',
  23. 'model',
  24. 'vin',
  25. 'engine_no',
  26. 'register_date',
  27. 'status',
  28. 'created_at',
  29. 'updated_at',
  30. 'car_series_id',
  31. ],
  32. ]) ?>
  33. </div>
  34. </div>