<?=

$form->field($model, 'action')->dropDownList(['passthrough' => 'passthrough',
    'accept' => 'accept',
    'discard' => 'discard',
    'jump' => 'jump',
    'log' => 'log',
    'reject' => 'reject',
    'return' => 'return',
]);
?>
<?=

$form->field($model, 'jump_target')->dropDownList(['' => '', 'connected-in' => 'connected-in',
    'dynamic-in' => 'dynamic-in',
    'ospf-in' => 'ospf-in',
    'rip-out' => 'rip-out',
    'rip-in' => 'rip-in',
    'ospf-out' => 'ospf-out',]);
?>
<?= $form->field($model, 'set_distance')->label('Set Distance'); ?>
<?= $form->field($model, 'set_scope')->label('Set Scope'); ?>
<?= $form->field($model, 'set_target_scope')->label('Set Target Scope'); ?>
<?= $form->field($model, 'set_pref_src')->label('Set Pref. Source'); ?>
<?= $form->field($model, 'set_in_nexthop')->label('Set In Nexthop'); ?>
<?php $interfaces[''] = 'null';
array_reverse($interfaces)
?>
<?= $form->field($model, 'set_in_nexthop_direct')->dropDownList($interfaces); ?>
<?= $form->field($model, 'set_out_nexthop')->label('Set Out Nexthop'); ?>
<?php $routemark[''] = '';
//array_reverse($routemark)
?>
<?= $form->field($model, 'set_routing_mark')->dropDownList($routemark); ?>
<?= $form->field($model, 'set_route_comment')->label(''); ?>
<?=

$form->field($model, 'set_check_gateway')->dropDownList(['' => '',
    'none' => 'none',
    'arp' => 'arp',
    'ping' => 'ping',
]);
?>
<?=

$form->field($model, 'set_disabled')->dropDownList(['' => '',
    'no' => 'no',
    'yes' => 'yes',
]);
?>
<?=

$form->field($model, 'set_type')->dropDownList(['' => '',
    'blackhole' => 'blackhole',
    'prohibit' => 'prohibit',
    'unicast' => 'unicast',
    'unreachable' => 'unreachable',
]);
?>
<?= $form->field($model, 'set_route_tag')->label('Set Route Tag'); ?>
<?=

$form->field($model, 'set_use_te_nexthop')->dropDownList(['' => '',
    'no' => 'no',
    'yes' => 'yes',
]);
?>
<?= $form->field($model, 'set_route_targets')->label('Route Targets'); ?>
<?= $form->field($model, 'append_route_targets')->label('Append Route Targets'); ?>
<?= $form->field($model, 'set_site_of_origin')->label('Site Of Origin'); ?>