<?php

use yii\helpers\Html;

/* @var $this yii\web\View */
/* @var $model backend\models\Chapter */

$this->title = 'Update Chapter: ' . ' ' . $model->title;
$this->params['breadcrumbs'][] = ['label' => 'Chapters', 'url' => ['index', 'bookid'=> $_GET["bookid"], 'ChapterSearch[bookId]'=> $_GET["bookid"]]];
$this->params['breadcrumbs'][] = ['label' => $model->title, 'url' => ['view', 'id' => $model->id, 'bookid'=> $_GET["bookid"], 'ChapterSearch[bookId]'=> $_GET["bookid"]]];
$this->params['breadcrumbs'][] = 'Update';
?>
<div class="chapter-update">

    <h1><?= Html::encode($this->title) ?></h1>

    <?= $this->render('_form', [
        'model' => $model,
    ]) ?>

</div>
