_form.php
755 Bytes
<?php
use yii\helpers\Html;
use yii\widgets\ActiveForm;
/* @var $this yii\web\View */
/* @var $model app\models\Host */
/* @var $form yii\widgets\ActiveForm */
?>
<div class="host-form">
    <?php $form = ActiveForm::begin(); ?>
    <?= $form->field($model, 'domain')->textInput(['maxlength' => true]) ?>
    <?= $form->field($model, 'created_at')->textInput() ?>
    <?= $form->field($model, 'csv_date')->textInput() ?>
    <?= $form->field($model, 'wis_date')->textInput() ?>
    <?= $form->field($model, 'wis_status')->textInput() ?>
    <?= $form->field($model, 'tix')->textInput() ?>
    <div class="form-group">
        <?= Html::submitButton('Save', ['class' => 'btn btn-success']) ?>
    </div>
    <?php ActiveForm::end(); ?>
</div>