<?php

use yii\helpers\Html;

/* @var $this yii\web\View */
/* @var $model common\models\Leave */

$this->title = Yii::t('common', 'Update {modelClass}: ', [
    'modelClass' => 'Leave',
]) . ' ' . $model->title;
$this->params['breadcrumbs'][] = ['label' => Yii::t('common', 'Leaves'), 'url' => ['index']];
$this->params['breadcrumbs'][] = ['label' => $model->title, 'url' => ['view', 'id' => $model->id]];
$this->params['breadcrumbs'][] = Yii::t('common', 'Update');
?>
<div class="leave-update">

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

</div>
