Blame view

backend/views/label/update.php 865 Bytes
7975da13   Alexey Boroda   -Label model pret...
1
2
3
  <?php
      
      use backend\models\Label;
c70f24ea   Yarik   For Leha commit.
4
      use backend\models\OrderLabelLang;
7975da13   Alexey Boroda   -Label model pret...
5
6
7
8
9
10
      use yii\helpers\Html;
      use yii\web\View;
      
      /**
       * @var View              $this
       * @var Label             $model
8af13427   Yarik   For leha commit.
11
       * @var orderLabelLang[] $modelLangs
7975da13   Alexey Boroda   -Label model pret...
12
13
       */
      
8af13427   Yarik   For leha commit.
14
      $this->title = 'Update Label: ' . $model->lang->title;
7975da13   Alexey Boroda   -Label model pret...
15
16
17
18
19
      $this->params[ 'breadcrumbs' ][] = [
          'label' => 'Labels',
          'url'   => [ 'index' ],
      ];
      $this->params[ 'breadcrumbs' ][] = [
8af13427   Yarik   For leha commit.
20
          'label' => $model->lang->title,
7975da13   Alexey Boroda   -Label model pret...
21
22
23
24
25
26
27
28
29
30
31
32
33
          'url'   => [
              'view',
              'id' => $model->id,
          ],
      ];
      $this->params[ 'breadcrumbs' ][] = 'Update';
  ?>
  <div class="label-update">
      
      <h1><?= Html::encode($this->title) ?></h1>
      
      <?= $this->render('_form', [
          'model'       => $model,
8af13427   Yarik   For leha commit.
34
          'modelLangs' => $modelLangs,
7975da13   Alexey Boroda   -Label model pret...
35
36
37
      ]) ?>
  
  </div>