view.php 599 B

123456789101112131415161718192021222324
  1. <?php
  2. use yii\helpers\Html;
  3. use yii\widgets\DetailView;
  4. /* @var $this yii\web\View */
  5. /* @var $model common\models\ArticleModule */
  6. $this->title = $model->name;
  7. $this->params['breadcrumbs'][] = ['label' => 'Article Modules', 'url' => ['index']];
  8. $this->params['breadcrumbs'][] = $this->title;
  9. ?>
  10. <?= $this->render('../site/view_menu', [ 'model' => $model]) ?><div class="box box-success">
  11. <div class="box-body">
  12. <?= DetailView::widget([
  13. 'model' => $model,
  14. 'attributes' => [
  15. 'id',
  16. 'name',
  17. 'title',
  18. ],
  19. ]) ?>
  20. </div>
  21. </div>