<?php

$datapath[''] = '';
$bridge[''] = '';
?>
<?= $form->field($model, 'datapath')->dropDownList($datapath); ?>
<?= $form->field($model, 'datapathbridge')->dropDownList($bridge); ?>
<?= $form->field($model, 'datapathbridge_cost')->label('Bridge Cost'); ?>
<?= $form->field($model, 'datapathbridge_horizon')->label('Bridge Horizon'); ?>
<?= $form->field($model, 'datapathlocal_forwarding')->checkBox(['label' => 'Local Forwarding']); ?>
<?= $form->field($model, 'datapathclient_to_client_forwarding')->checkBox(['label' => 'Client To Client Forwarding']); ?>
<?=

$form->field($model, 'datapathvlan_mode')->dropDownList(['' => '',
    'use-service-tag' => 'use-service-tag',
    'use-tag' => 'use-tag',
    'no-tag' => 'no-tag',
])->label('VLAN Mode');
?>
<?= $form->field($model, 'datapathvlan_id')->label('VLAN ID'); ?>