<?php

use yii\helpers\Html;

/* @var $this yii\web\View */
/* @var $model modules\forms\models\Dt5 */

$this->title = 'Update '.$model->formname.': ' . $model->id;
$this->params['breadcrumbs'][] = ['label' => $model->formname, 'url' => ["forms/$formModel->form/index"]];
$this->params['breadcrumbs'][] = ['label' => $model->id, 'url' => ["forms/$formModel->form/view", 'id' => $model->id]];
$this->params['breadcrumbs'][] = 'Update';

$layout = $model->formLayout ? $model->formLayout : '_'.$formModel->form.'f';
?>
<div class="<?= $formModel->form ?>-update">
    <?= $this->render($layout, [
        'model' => $model,
        'formModel' => $formModel,
        'signatures' => $signatures,
    ]) ?>
</div>
