Blame view

views/slider/create.php 580 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
       */

c1196c22   Administrator   add create_item t...
9
      $this->title = \Yii::t('app', 'create_item',['item'=>'Slider']);

faf617f2   Yarik   Namespaces
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
      $this->params[ 'breadcrumbs' ][] = [

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

          'url'   => [ 'index' ],

      ];

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

  ?>

  <div class="slider-create">

      

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

      

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

          'model' => $model,

      ]) ?>

  

  </div>