Blame view

views/event/create.php 582 Bytes
cd976a8d   Administrator   add event to comp...
1
2
3
  <?php
  
  use yii\helpers\Html;
2e662b5f   Administrator   add event to comp...
4
  use artweb\artbox\event\models\EventLang;
cd976a8d   Administrator   add event to comp...
5
6
  /**
   * @var $this yii\web\View
2e662b5f   Administrator   add event to comp...
7
   * @var $model artweb\artbox\event\models\Event
cd976a8d   Administrator   add event to comp...
8
9
10
   * @var EventLang[] $modelLangs
   */
  
4201b4a1   Administrator   add create_item t...
11
  $this->title = \Yii::t('app', 'create_item',['item'=>'Event']);
cd976a8d   Administrator   add event to comp...
12
13
14
15
16
17
18
19
20
21
22
23
24
  $this->params['breadcrumbs'][] = ['label' => Yii::t('app', 'Events'), 'url' => ['index']];
  $this->params['breadcrumbs'][] = $this->title;
  ?>
  <div class="event-create">
  
      <h1><?= Html::encode($this->title) ?></h1>
  
      <?= $this->render('_form', [
          'model' => $model,
          'modelLangs' => $modelLangs
      ]) ?>
  
  </div>