22 lines
534 B
PHP
22 lines
534 B
PHP
<?php
|
|
|
|
use yii\helpers\Html;
|
|
|
|
/** @var yii\web\View $this */
|
|
/** @var app\models\Country $model */
|
|
|
|
$this->title = 'Update Country: ' . $model->name;
|
|
$this->params['breadcrumbs'][] = ['label' => 'Countries', 'url' => ['index']];
|
|
$this->params['breadcrumbs'][] = ['label' => $model->name, 'url' => ['view', 'code' => $model->code]];
|
|
$this->params['breadcrumbs'][] = 'Update';
|
|
?>
|
|
<div class="country-update">
|
|
|
|
<h1><?= Html::encode($this->title) ?></h1>
|
|
|
|
<?= $this->render('_form', [
|
|
'model' => $model,
|
|
]) ?>
|
|
|
|
</div>
|