<?= $form->field($model, 'dst_address')->label('Dst. Address'); ?>
<label class="control-label" for="routes-route">Gateway</label>
<input type="text" class="form-control" name="Routes[gateway]" list="chain" value=<?php echo $model->gateway ?>>
<datalist id="chain">
    <option value=''></option>
    <?php
    foreach ($intName as $value) {
        echo "<option value=$value>$value</option>";
    }
    ?>

</datalist>
<?= $form->field($model, 'check_gateway')->dropDownList(['' => '', 'ping' => 'ping', 'arp' => 'arp']); ?>
<?= $form->field($model, 'type')->dropDownList(['unicast' => 'unicast', 'blackhole' => 'blackhole', 'prohibit' => 'prohibit', 'unreachabl' => 'unreachable']); ?>
<?= $form->field($model, 'distance'); ?>
<?= $form->field($model, 'scope'); ?>
<?= $form->field($model, 'target_scope')->label('Target Scope'); ?>
<label class="control-label" for="routes-route">Routing Mark</label>
<input type="text" class="form-control" name="Routes[routing_mark]" list="routing_mark" value=<?php echo $model->routing_mark ?>>
<datalist id="routing_mark">

    <option value="main">main</option>";
    <?php
    foreach ($packetMark['routing'] as $value) {
        echo "<option value=$value>$value</option>";
    }
    ?>


</datalist>
</br>
<?= $form->field($model, 'pref_src')->label('Pref. Source'); ?>