Blame view

backend/views/project/create.php 695 Bytes
36d1807a   Yarik   Big commit.
1
  <?php
d55d2fe0   Yarik   Multilanguage
2
3
4
5
6
7
8
9
10
11
12
13
      
      use common\models\Project;
      use common\models\ProjectLang;
      use yii\helpers\Html;
      use yii\web\View;
      
      /**
       * @var View        $this
       * @var Project     $model
       * @var ProjectLang $model_langs
       */
      
93c267f7   Yarik   Multilanguage big...
14
      $this->title = \Yii::t('app', 'Create Project');
d55d2fe0   Yarik   Multilanguage
15
      $this->params[ 'breadcrumbs' ][] = [
93c267f7   Yarik   Multilanguage big...
16
          'label' => \Yii::t('app', 'Projects'),
d55d2fe0   Yarik   Multilanguage
17
18
19
          'url'   => [ 'index' ],
      ];
      $this->params[ 'breadcrumbs' ][] = $this->title;
36d1807a   Yarik   Big commit.
20
21
  ?>
  <div class="articles-create">
d55d2fe0   Yarik   Multilanguage
22
      
36d1807a   Yarik   Big commit.
23
      <h1><?= Html::encode($this->title) ?></h1>
d55d2fe0   Yarik   Multilanguage
24
      
36d1807a   Yarik   Big commit.
25
      <?= $this->render('_form', [
d55d2fe0   Yarik   Multilanguage
26
27
          'model'       => $model,
          'model_langs' => $model_langs,
36d1807a   Yarik   Big commit.
28
29
30
      ]) ?>
  
  </div>