view.php 731 B

1234567891011121314151617181920212223242526272829303132
  1. <?php
  2. use yii\helpers\Html;
  3. use yii\widgets\DetailView;
  4. /* @var $this yii\web\View */
  5. /* @var $model common\models\CircleCat */
  6. $this->title = $model->title;
  7. $this->params['breadcrumbs'][] = ['label' => Yii::t('common', 'Circle Cats'), '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. 'title',
  17. 'pid',
  18. 'created_at',
  19. 'updated_at',
  20. 'slug',
  21. 'description',
  22. 'sort',
  23. 'status',
  24. 'is_hot',
  25. 'is_del',
  26. ],
  27. ]) ?>
  28. </div>
  29. </div>