Blame view

backend/views/tile/update.php 761 Bytes
5fb518d5   Volodymyr   tiles ready
1
2
3
4
5
6
  <?php
  
  use yii\helpers\Html;
  
  /**
   * @var $this yii\web\View
0a6fda24   Volodymyr   product admin vie...
7
8
   * @var $model common\models\Tile
   * @var \common\models\TileLang $modelLangs
5fb518d5   Volodymyr   tiles ready
9
10
11
12
   * @var \common\models\Slider[] $sliders
   */
  
  $this->title = Yii::t('app', 'Update {modelClass}: ', [
0a6fda24   Volodymyr   product admin vie...
13
      'modelClass' => 'Tile',
5fb518d5   Volodymyr   tiles ready
14
  ]) . $model->id;
0a6fda24   Volodymyr   product admin vie...
15
  $this->params['breadcrumbs'][] = ['label' => Yii::t('app', 'Tiles'), 'url' => ['index']];
5fb518d5   Volodymyr   tiles ready
16
17
18
19
20
21
22
23
24
25
  $this->params['breadcrumbs'][] = ['label' => $model->id, 'url' => ['view', 'id' => $model->id]];
  $this->params['breadcrumbs'][] = Yii::t('app', 'Update');
  ?>
  <div class="objectkb-update">
  
      <h1><?= Html::encode($this->title) ?></h1>
  
      <?= $this->render('_form', [
          'model' => $model,
          'modelLangs' => $modelLangs,
0a6fda24   Volodymyr   product admin vie...
26
          //'sliders' => $sliders,
5fb518d5   Volodymyr   tiles ready
27
28
29
      ]) ?>
  
  </div>