This code only shows the second field, I need both fields. Thanks.
<?php echo Tabs::widget([
'items' => [
[
'label' => 'One',
'content' => $form->field($model, 'name'),
'content' => $form->field($model, 'type'),
'active' => true
],
........