update.php 529 B

12345678910111213141516171819
  1. <?php
  2. use yii\helpers\Html;
  3. /** @var yii\web\View $this */
  4. /** @var app\models\Page $model */
  5. $this->title = 'Обновить документ: ' . $model->title;
  6. $this->params['breadcrumbs'][] = ['label' => 'Документы', 'url' => ['index']];
  7. $this->params['breadcrumbs'][] = ['label' => $model->title, 'url' => ['view', 'id' => $model->id]];
  8. //$this->params['breadcrumbs'][] = 'Update';
  9. ?>
  10. <div class="page-update">
  11. <?= $this->render('_form', [
  12. 'model' => $model, 'uid' => $model->uid
  13. ]) ?>
  14. </div>