field($model, 'email')->textInput(['maxlength' => true]) ?> field($model, 'group_id')->textInput() ?> field($model, 'group_id')->dropDownList(ArrayHelper::map(TeamGroup::find()->all(), 'id', 'name'), ['prompt' => 'Выберие группу']) ?> field($model, 'name')->textInput(['maxlength' => true]) ?> $model, 'field'=>'img', 'width'=>120, 'height'=>120, 'multi'=>false, 'gallery' =>$model->img, 'name' => 'Загрузить картинку' ]); ?> field($model, 'phone')->textInput(['maxlength' => true]) ?> field($model, 'skype')->textInput(['maxlength' => true]) ?> field($model, 'code')->textInput(['maxlength' => true]) ?>
isNewRecord ? 'Добавить' : 'Редактировать', ['class' => $model->isNewRecord ? 'btn btn-success' : 'btn btn-primary']) ?>