update.php 550 B

123456789101112131415161718192021
  1. <?php
  2. use yii\helpers\Html;
  3. /** @var yii\web\View $this */
  4. /** @var app\models\ReportTopic $model */
  5. $this->title = 'Update Report Topic: ' . $model->title;
  6. $this->params['breadcrumbs'][] = ['label' => 'Report Topics', 'url' => ['index']];
  7. $this->params['breadcrumbs'][] = ['label' => $model->title, 'url' => ['view', 'id' => $model->id]];
  8. $this->params['breadcrumbs'][] = 'Update';
  9. ?>
  10. <div class="report-topic-update">
  11. <h1><?= Html::encode($this->title) ?></h1>
  12. <?= $this->render('_form', [
  13. 'model' => $model,
  14. ]) ?>
  15. </div>