<?= $form->field($model, 'name')->label('Name'); ?>
<label class="control-label" for="ppp-profiles">Local Address</label>
<input type="text" class="form-control" name="Profiles[local_address]" list="local_address" value=<?php echo $model->local_address ?>>
<datalist id="local_address">

    <?php
    foreach ($pool as $value) {
        echo "<option value=$value>$value</option>";
    }
    ?>

</datalist></br>
<label class="control-label" for="ppp-profiles">Remote Address</label>
<input type="text" class="form-control" name="Profiles[remote_address]" list="remote_address" value=<?php echo $model->remote_address ?>>
<datalist id="remote_address">

    <?php
    foreach ($pool as $value) {
        echo "<option value=$value>$value</option>";
    }
    ?>

</datalist></br>
<?php $items[''] = ''; ?>
<?php $bridge[''] = ''; ?>
<?php $address[''] = ''; ?>
<?= $form->field($model, 'bridge')->dropDownList($bridge); ?>
<?= $form->field($model, 'bridge_port_priority')->label('Bridge Port Priority'); ?>
<?= $form->field($model, 'bridge_path_cost')->label('Bridge Path Cost'); ?>
<?=
$form->field($model, 'incoming_filter')->dropDownList(['' => '',
    'input' => 'input',
    'output' => 'output',
    'forward' => 'forward',
]);
?>
<?=
$form->field($model, 'outgoing_filter')->dropDownList(['' => '',
    'input' => 'input',
    'output' => 'output',
    'forward' => 'forward',
]);
?>
<?= $form->field($model, 'address_list')->dropDownList($address); ?>
<?= $form->field($model, 'dns_server')->label('DNS Server'); ?>
<?= $form->field($model, 'wins_server')->label('Wins Server'); ?>
<?=
$form->field($model, 'change_tcp_mss')->dropDownList([ 'default' => 'default',
    'no' => 'no',
    'yes' => 'yes',
]);
?>
<?=
$form->field($model, 'use_upnp')->dropDownList([ 'default' => 'default',
    'no' => 'no',
    'yes' => 'yes',
]);
?>