Blame view

views/brand-size/update.php 1.04 KB
e1048e52   Alexey Boroda   -Brand size start...
1
  <?php
20cfd476   Alexey Boroda   -Sizes in process
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
28
29
30
31
32
      
      use artweb\artbox\ecommerce\models\BrandSize;
      use yii\helpers\Html;
      use yii\web\View;
      
      /**
       * @var View      $this
       * @var BrandSize $model
       * @var array     $categories
       * @var array     $brands
       */
      
      $this->title = Yii::t(
              'app',
              'Update {modelClass}: ',
              [
                  'modelClass' => 'Brand Size',
              ]
          ) . $model->id;
      $this->params[ 'breadcrumbs' ][] = [
          'label' => Yii::t('app', 'Brand Sizes'),
          'url'   => [ 'index' ],
      ];
      $this->params[ 'breadcrumbs' ][] = [
          'label' => $model->id,
          'url'   => [
              'view',
              'id' => $model->id,
          ],
      ];
      $this->params[ 'breadcrumbs' ][] = Yii::t('app', 'Update');
e1048e52   Alexey Boroda   -Brand size start...
33
34
35
  ?>
  <div class="brand-size-update">
  
20cfd476   Alexey Boroda   -Sizes in process
36
37
38
39
40
41
42
43
44
45
    <h1><?= Html::encode($this->title) ?></h1>
      
      <?= $this->render(
          '_form',
          [
              'model'      => $model,
              'categories' => $categories,
              'brands'     => $brands,
          ]
      ) ?>
e1048e52   Alexey Boroda   -Brand size start...
46
47
  
  </div>