Blame view

backend/views/category/update.php 724 Bytes
4253cbec   root   first commit
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
  <?php

  

  use yii\helpers\Html;

  

  /* @var $this yii\web\View */

  /* @var $model common\modules\product\models\Category */

  

  $this->title = Yii::t('product', 'Update {modelClass}: ', [

      'modelClass' => 'Category',

  ]) . ' ' . $model->name;

  $this->params['breadcrumbs'][] = ['label' => Yii::t('product', 'Categories'), 'url' => ['index']];

  $this->params['breadcrumbs'][] = ['label' => $model->name, 'url' => ['view', 'id' => $model->category_id]];

  $this->params['breadcrumbs'][] = Yii::t('product', 'Update');

  ?>

  <div class="category-update">

  

      <h1><?= Html::encode($this->title) ?></h1>

  

      <?= $this->render('_form', [

          'model' => $model,

          'categories' => $categories

      ]) ?>

  

  </div>