Commit 47deb47d by Скуратович Александр

форма редактирования

1 parent 7ffe17b9
......@@ -2,6 +2,7 @@
use yii\helpers\Html;
use yii\widgets\ActiveForm;
use app\models\Host;
/* @var $this yii\web\View */
/* @var $model app\models\Host */
......@@ -24,7 +25,9 @@ use yii\widgets\ActiveForm;
<?= $form->field($model, 'tix')->textInput() ?>
<?= $form->field($model, 'status')->textInput() ?>
<?= $form->field($model, 'wis_status', ['options' => ['class' => 'form-group col-xs-12']])->dropDownList(Host::getWisStatus()) ?>
<?= $form->field($model, 'status', ['options' => ['class' => 'form-group col-xs-12']])->dropDownList(Host::getStatus()) ?>
<div class="form-group">
<?= Html::submitButton('Save', ['class' => 'btn btn-success']) ?>
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!