guild/backend/modules/questionnaire/views/question/update.php
2021-10-29 17:06:09 +03:00

18 lines
511 B
PHP

<?php
/* @var $this yii\web\View */
/* @var $model backend\modules\questionnaire\models\Question */
$this->title = 'Изменение вопроса: ' . $model->question_body;
$this->params['breadcrumbs'][] = ['label' => 'Questions', 'url' => ['index']];
$this->params['breadcrumbs'][] = ['label' => $model->id, 'url' => ['view', 'id' => $model->id]];
$this->params['breadcrumbs'][] = 'Update';
?>
<div class="question-update">
<?= $this->render('_form', [
'model' => $model,
]) ?>
</div>