<?php
use yii\helpers\Url;

$this->title = '添加标签';

//默认值
if ($model->isNewRecord) {
	$model->sort = 0;
	$model->status = 1;
}
?>

<div class="modal-window" >
	<?= \home\widgets\Alert::widget(); ?>
	<?= $this->render('_form', ['model' => $model, 'action' => $action]);  ?>
</div>
