fitness-web/backend/views/log/update.php

24 lines
635 B
PHP

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