Blame view

views/blog-tag/create.php 832 Bytes
593851ec   Alexey Boroda   First commit
1
2
  <?php
      
ee588281   Alexey Boroda   -Blog backend ready
3
4
      use artbox\weblog\models\Tag;
      use artbox\weblog\models\TagLang;
593851ec   Alexey Boroda   First commit
5
      use yii\web\View;
ee588281   Alexey Boroda   -Blog backend ready
6
      use yiister\gentelella\widgets\Panel;
593851ec   Alexey Boroda   First commit
7
8
      
      /**
ee588281   Alexey Boroda   -Blog backend ready
9
10
11
       * @var View      $this
       * @var TagLang[] $modelLangs
       * @var Tag       $model
593851ec   Alexey Boroda   First commit
12
13
14
15
16
17
18
19
20
21
22
       */
      
      $this->title = \Yii::t('blog', 'Create Blog Tag');
      $this->params[ 'breadcrumbs' ][] = [
          'label' => \Yii::t('blog', 'Blog Tags'),
          'url'   => [ 'index' ],
      ];
      $this->params[ 'breadcrumbs' ][] = $this->title;
  ?>
  <div class="blog-tag-create">
      
ee588281   Alexey Boroda   -Blog backend ready
23
24
25
26
27
      <?php $panel = Panel::begin(
          [
              'header' => $this->title,
          ]
      ); ?>
593851ec   Alexey Boroda   First commit
28
29
30
31
32
33
34
35
      
      <?= $this->render(
          '_form',
          [
              'model'      => $model,
              'modelLangs' => $modelLangs,
          ]
      ) ?>
ee588281   Alexey Boroda   -Blog backend ready
36
37
      
      <?php $panel::end(); ?>
593851ec   Alexey Boroda   First commit
38
39
  
  </div>