= $form->field($model, 'status')
->dropDownList(
[
2 => 'Новая',
1 => 'Одобрена',
0 => 'Отклонена',
]
) ?>
field($model, 'secondname')
->textInput() */?>
= $form->field($model, 'name')
->textInput() ?>
= $form->field($model, 'organization')
->textInput() ?>
= $form->field($model, 'email')
?>
= $form->field($model, 'post_address')
->textInput() ?>
= $form->field($model, 'phone_office')
->textInput() ?>
= $form->field($model, 'phone_other')
->textInput() ?>
= $form->field($model, 'fax')
->textInput() ?>
= $form->field($model, 'citizenship')
->textInput() ?>
= $form->field($model, 'gender')
->dropDownList(
[
1 => 'Мужской',
2 => 'Женский',
]
) ?>
= $form->field($model, 'birth')
->textInput() ?>
= $form->field($model, 'passport_number')
->textInput() ?>
= $form->field($model, 'passport_date')
->textInput() ?>
= $form->field($model, 'passport_place')
->textInput() ?>
= $form->field($model, 'passport_valid')
->textInput() ?>
= $form->field($model, 'need_visa')
->dropDownList(
[
0 => 'Нет',
1 => 'Да',
]
) ?>
= $form->field($model, 'special_meal')
->textInput() ?>
field($model, 'working_lang')
->dropDownList([
2 => \Yii::t('app', "RusW"),
1 => \Yii::t('app', 'EngW'),
4 => \Yii::t('app', 'FrW'),
]);
?>
= \yii\helpers\Html::submitButton(
'Сохранить',
[ 'class' => $model->isNewRecord ? 'btn btn-success' : 'btn btn-success' ]
) ?>