<?php

use yii\helpers\Html;

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

$this->title = Yii::t('frontend/key', 'Update {modelClass}: ', [
    'modelClass' => 'Key',
]) . ' ' . $model->id_key;
$this->params['breadcrumbs'][] = ['label' => Yii::t('frontend/key', 'Keys'), 'url' => ['index']];
$this->params['breadcrumbs'][] = ['label' => $model->id_key, 'url' => ['view', 'id' => $model->id_key]];
$this->params['breadcrumbs'][] = Yii::t('frontend/key', 'Update');
?>
<div class="key-update">

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

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

</div>
