Blame view

backend/views/product/update.php 699 Bytes
0a6fda24   Volodymyr   product admin vie...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
  <?php
  
  use yii\helpers\Html;
  
  /**
   * @var $this yii\web\View
   * @var $model common\models\Product
   * @var \common\models\ProductLang $modelLangs
   */
  
  $this->title = Yii::t('app', 'Update {modelClass}: ', [
      'modelClass' => 'Product',
  ]) . $model->id;
  $this->params['breadcrumbs'][] = ['label' => Yii::t('app', 'Products'), 'url' => ['index']];
  $this->params['breadcrumbs'][] = ['label' => $model->id, 'url' => ['view', 'id' => $model->id]];
  $this->params['breadcrumbs'][] = Yii::t('app', 'Update');
  ?>
  <div class="objectkb-update">
  
      <h1><?= Html::encode($this->title) ?></h1>
  
      <?= $this->render('_form', [
          'model' => $model,
          'modelLangs' => $modelLangs,
      ]) ?>
  
  </div>