yii2-netdisk/views/tickets/update.php

22 lines
530 B
PHP

<?php
use yii\helpers\Html;
/** @var yii\web\View $this */
/** @var app\models\Tickets $model */
$this->title = 'Update Tickets: ' . $model->title;
$this->params['breadcrumbs'][] = ['label' => 'Tickets', 'url' => ['index']];
$this->params['breadcrumbs'][] = ['label' => $model->title, 'url' => ['view', 'id' => $model->id]];
$this->params['breadcrumbs'][] = 'Update';
?>
<div class="tickets-update">
<h1><?= Html::encode($this->title) ?></h1>
<?= $this->render('_form', [
'model' => $model,
]) ?>
</div>