<?= $form->field($model, 'connect_to')->label('Connect To'); ?>
<?= $form->field($model, 'user')->label('User'); ?>
<?= $form->field($model, 'password')->passwordInput(); ?>
<?= $form->field($model, 'profile')->dropDownList($items); ?>
<?= $form->field($model, 'keepalive_timeout')->label('Keepalive Timeout'); ?>
<?= $form->field($model, 'add_default_route')->checkBox(); ?>
<?= $form->field($model, 'default_route_distance')->label('Default Route Distance'); ?>
<?= $form->field($model, 'dial_on_demand')->checkBox(); ?>
<?php

echo $form->field($model, 'allow')->dropDownList(['mschap2' => 'mschap2',
    'mschap1' => 'mschap1',
    'chap' => 'chap',
    'pap' => 'pap',
        ], ['multiple' => true]);
?>