<?php
use qcbase\assets\MenuAsset;
use yii\helpers\Url;
use yii\web\Request;

$this -> title = '项目状态';
if ($model->isNewRecord) {
	$model->status = 1;
    $model->sort = 0;
}
?>

<div class="nav">
    <!--<div class="return"><a href="">返回上一级</a></div>-->
    <ul class="cc">
        <li ><a href="<?= Url::to(['project-status/index']) ?>">项目状态</a></li>
        <li class="current"><a href="<?= Url::to(['project-status/create']) ?>">添加状态</a></li>
    </ul>
</div>


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