Blame view

backend/views/blog/update.php 523 Bytes
4ca21c3e   Alexey Boroda   first commit
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
  <?php
  
  use yii\helpers\Html;
  
  /* @var $this yii\web\View */
  /* @var $model common\models\Blog */
  
  $this->title = 'Update Blog: ' . $model->title;
  $this->params['breadcrumbs'][] = ['label' => 'Blog', 'url' => ['index']];
  $this->params['breadcrumbs'][] = ['label' => $model->title, 'url' => ['view', 'id' => $model->id]];
  $this->params['breadcrumbs'][] = 'Update';
  ?>
  <div class="articles-update">
  
      <h1><?= Html::encode($this->title) ?></h1>
  
      <?= $this->render('_form', [
          'model' => $model,
      ]) ?>
  
  </div>