fitness-web/backend/views/card-package/update.php

24 lines
724 B
PHP

<?php
use yii\helpers\Html;
/* @var $this yii\web\View */
/* @var $model common\models\CardPackage */
$this->title = Yii::t('common/card_package', 'Update {modelClass}: ', [
'modelClass' => 'Card Package',
]) . ' ' . $model->id_card_package;
$this->params['breadcrumbs'][] = ['label' => Yii::t('common/card_package', 'Card Packages'), 'url' => ['index']];
$this->params['breadcrumbs'][] = ['label' => $model->id_card_package, 'url' => ['view', 'id' => $model->id_card_package]];
$this->params['breadcrumbs'][] = Yii::t('common/card_package', 'Update');
?>
<div class="card-package-update">
<h1><?= Html::encode($this->title) ?></h1>
<?= $this->render('_form', [
'model' => $model,
]) ?>
</div>