fitness-web/backend/views/collection/update.php
2015-11-03 09:50:54 +01:00

24 lines
708 B
PHP

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