Blame view

backend/views/category/create.php 853 Bytes
d8c1a2e0   Yarik   Big commit artbox
1
  <?php

d55d2fe0   Yarik   Multilanguage
2
3
4
5
6
7
8
9
10
      

      use common\modules\product\models\Category;

      use common\modules\product\models\CategoryLang;

      use yii\helpers\Html;

      use yii\web\View;

      

      /**

       * @var View           $this

       * @var Category       $model

8af13427   Yarik   For leha commit.
11
       * @var CategoryLang[] $modelLangs

d55d2fe0   Yarik   Multilanguage
12
13
14
15
16
17
18
19
20
       * @var string[]       $categories

       */

      

      $this->title = Yii::t('product', 'Create Category');

      $this->params[ 'breadcrumbs' ][] = [

          'label' => Yii::t('product', 'Categories'),

          'url'   => [ 'index' ],

      ];

      $this->params[ 'breadcrumbs' ][] = $this->title;

d8c1a2e0   Yarik   Big commit artbox
21
22
  ?>

  <div class="category-create">

d55d2fe0   Yarik   Multilanguage
23
      

d8c1a2e0   Yarik   Big commit artbox
24
      <h1><?= Html::encode($this->title) ?></h1>

d55d2fe0   Yarik   Multilanguage
25
      

d8c1a2e0   Yarik   Big commit artbox
26
      <?= $this->render('_form', [

d55d2fe0   Yarik   Multilanguage
27
          'model'       => $model,

8af13427   Yarik   For leha commit.
28
          'modelLangs' => $modelLangs,

d55d2fe0   Yarik   Multilanguage
29
          'categories'  => $categories,

d8c1a2e0   Yarik   Big commit artbox
30
31
32
      ]) ?>

  

  </div>