create.php
899 Bytes
<?php
use yii\helpers\Html;
/**
* @var yii\web\View $this
* @var common\models\CrossSection $model
* @var array $regions
* @var array $roads
* @var array $surface_types
* @var array $state_commons
*/
$this->title = 'Create Cross Section';
$this->params[ 'breadcrumbs' ][] = [
'label' => 'Cross Sections',
'url' => [ 'index' ],
];
$this->params[ 'breadcrumbs' ][] = $this->title;
?>
<div class="cross-section-create">
<h1><?= Html::encode($this->title) ?></h1>
<?= $this->render('_form', [
'model' => $model,
'regions' => $regions,
'roads' => $roads,
'surface_types' => $surface_types,
'state_commons' => $state_commons,
]) ?>
</div>