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.

24 lines
612 B

  1. <?php
  2. use yii\helpers\Html;
  3. /* @var $this yii\web\View */
  4. /* @var $model common\models\Category */
  5. $this->title = 'Update Category: ' . $model->id;
  6. $this->params['breadcrumbs'][] = ['label' => 'Categories', 'url' => ['index']];
  7. $this->params['breadcrumbs'][] = ['label' => $model->id, 'url' => ['view', 'id' => $model->id]];
  8. $this->params['breadcrumbs'][] = 'Update';
  9. ?>
  10. <div class="box box-primary">
  11. <div class="box-header with-border">
  12. <h3 class="box-title"><?= Html::encode($this->title) ?></h3>
  13. </div>
  14. <?=
  15. $this->render('_form', [
  16. 'model' => $model,
  17. ])
  18. ?>
  19. </div>