Blame view

common/modules/product/views/manage/create.php 765 Bytes
d8c1a2e0   Yarik   Big commit artbox
1
  <?php

cc658b4c   Yarik   Big commit
2
      

cc658b4c   Yarik   Big commit
3
      use common\modules\product\models\Product;

d55d2fe0   Yarik   Multilanguage
4
      use common\modules\product\models\ProductLang;

cc658b4c   Yarik   Big commit
5
6
7
8
      use yii\helpers\Html;

      use yii\web\View;

      

      /**

5c2eb7c8   Yarik   Big commit almost...
9
10
       * @var View          $this

       * @var Product       $model

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

cc658b4c   Yarik   Big commit
12
13
14
15
16
17
18
19
       */

      

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

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

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

          'url'   => [ 'index' ],

      ];

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

d8c1a2e0   Yarik   Big commit artbox
20
21
  ?>

  <div class="product-create">

cc658b4c   Yarik   Big commit
22
      

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

cc658b4c   Yarik   Big commit
24
      

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

5c2eb7c8   Yarik   Big commit almost...
26
          'model'       => $model,

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

d8c1a2e0   Yarik   Big commit artbox
28
29
30
      ]) ?>

  

  </div>