Blame view

backend/themes/defaults/layouts/create.php 683 Bytes
d1f8bd40   Alexey Boroda   first commit
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
  <?php
  
  /**
   * @author FilamentV <vortex.filament@gmail.com>
   * @copyright (c), Thread
   */
  
  $module = (Yii::$app->controller->module->module->id == "app-backend") ?
      Yii::$app->controller->module->id : Yii::$app->controller->module->module->id;
  
  $this->beginContent('@app/layouts/main.php'); ?>
  
  <div class="row border-bottom white-bg page-heading">
      <div class="col-md-12">
          <h2>
              <?= Yii::t($module, $this->context->module->title) ?>.
              <?= Yii::t($module, $this->context->title) ?>.
              <?= Yii::t('app', 'Create') ?>
          </h2>
      </div>
  </div>
  
  <div class="animated fadeIn">
      <?= $content ?>
  </div>
  
  <?php $this->endContent(); ?>