Blame view

views/slider/update.php 650 Bytes
faf617f2   Yarik   Namespaces
1
2
3
4
5
6
  <?php

      

      use yii\helpers\Html;

      

      /**

       * @var yii\web\View $this

17bf5975   Yarik   Links fixed
7
       * @var artweb\artbox\design\models\Slider $model

faf617f2   Yarik   Namespaces
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
       */

      $this->title = Yii::t('app', 'Update {modelClass}: ', [

              'modelClass' => 'Slider',

          ]) . $model->title;

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

          'label' => Yii::t('app', 'Sliders'),

          'url'   => [ 'index' ],

      ];

      $this->params[ 'breadcrumbs' ][] = Yii::t('app', 'Update');

  ?>

  <div class="slider-update">

      

      <h1><?= Html::encode($this->title) ?></h1>

      

      <?= $this->render('_form', [

          'model' => $model,

      ]) ?>

  

  </div>