<?=

$form->field($model, 'action')->dropDownList(['discard' => 'discard',
    'encrypt' => 'encrypt',
    'none' => 'none',
]);
?>
<?=

$form->field($model, 'level')->dropDownList(['require' => 'require',
    'unique' => 'unique',
    'use' => 'use',
]);
?>
<?=

$form->field($model, 'ipsec_protocols')->dropDownList(['ah' => 'ah',
    'esp' => 'esp',
]);
?>
<?= $form->field($model, 'tunnel')->checkBox(); ?>
<?= $form->field($model, 'sa_src_address')->label('SA Src Address'); ?>
<?= $form->field($model, 'sa_dst_address')->label('SA Dst Address'); ?>
<?= $form->field($model, 'proposal')->dropDownList($items); ?>
<?= $form->field($model, 'priority')->label('Priority'); ?>