update.php 532 B

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