Blame view

backend/views/persone/create.php 830 Bytes
8ccb8fe5   Alexey Boroda   -Persones ready
1
2
3
4
5
6
7
8
9
10
11
12
13
  <?php
      
      use common\models\Persone;
      use common\models\PersoneLang;
      use yii\web\View;
      use yiister\gentelella\widgets\Panel;
      
      /**
       * @var View          $this
       * @var Persone       $model
       * @var PersoneLang[] $modelLangs
       */
      
809b0ee3   Eugeny Galkovskiy   Переводы 1
14
      $this->title = Yii::t('app', 'Добавить сотрудника');
8ccb8fe5   Alexey Boroda   -Persones ready
15
      $this->params[ 'breadcrumbs' ][] = [
809b0ee3   Eugeny Galkovskiy   Переводы 1
16
          'label' => Yii::t('app', 'Персонал'),
8ccb8fe5   Alexey Boroda   -Persones ready
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
          'url'   => [ 'index' ],
      ];
      $this->params[ 'breadcrumbs' ][] = $this->title;
  ?>
  <div class="persone-create">
    
    <?php Panel::begin([
      'header' => $this->title
                       ])?>
      
      <?= $this->render(
          '_form',
          [
              'model'      => $model,
              'modelLangs' => $modelLangs,
          ]
      ) ?>
    
    <?php Panel::end()?>
  
  </div>