<?php

use common\modules\event\modelAndView\CreateEventModelAndView;
use yii\helpers\Html;

/* @var $this yii\web\View */
/* @var $modelAndView CreateEventModelAndView */

$this->title = Yii::t('event', 'Update Event:') . ' #' . $modelAndView->event->id;
$this->params['breadcrumbs'][] = ['label' => Yii::t('event', 'Events'), 'url' => ['index']];
$this->params['breadcrumbs'][] = ['label' => $modelAndView->event->id, 'url' => ['view', 'id' => $modelAndView->event->id]];
$this->params['breadcrumbs'][] = Yii::t('event', 'Update');
?>
<div class="event-update">

    <h1><?= Html::encode($this->title) ?></h1>

    <?= $this->render('_form', [
        'modelAndView' => $modelAndView
    ]) ?>

</div>
