Blame view

common/modules/product/views/product-unit/create.php 773 Bytes
d8c1a2e0   Yarik   Big commit artbox
1
  <?php
d55d2fe0   Yarik   Multilanguage
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
      
      use common\modules\product\models\ProductUnit;
      use common\modules\product\models\ProductUnitLang;
      use yii\helpers\Html;
      use yii\web\View;
      
      /**
       * @var View              $this
       * @var ProductUnit       $model
       * @var ProductUnitLang[] $model_langs
       */
      
      $this->title = Yii::t('product', 'Create Product Unit');
      $this->params[ 'breadcrumbs' ][] = [
          'label' => Yii::t('product', 'Product Units'),
          'url'   => [ 'index' ],
      ];
      $this->params[ 'breadcrumbs' ][] = $this->title;
d8c1a2e0   Yarik   Big commit artbox
20
21
  ?>
  <div class="product-unit-create">
d55d2fe0   Yarik   Multilanguage
22
      
d8c1a2e0   Yarik   Big commit artbox
23
      <h1><?= Html::encode($this->title) ?></h1>
d55d2fe0   Yarik   Multilanguage
24
      
d8c1a2e0   Yarik   Big commit artbox
25
      <?= $this->render('_form', [
d55d2fe0   Yarik   Multilanguage
26
27
          'model'       => $model,
          'model_langs' => $model_langs,
d8c1a2e0   Yarik   Big commit artbox
28
29
30
      ]) ?>
  
  </div>