</h4> </div> <div class="col-lg-offset-1 col-lg-11"> <?php echo $form->field($model, 'dayOfBirth')->dropDownList(DateModel::getDays(), ['prompt' => 'День']); ?> </div> <div class="col-lg-offset-1 col-lg-11"> <?php echo $form->field($model, 'monthOfBirth')->textArea()->label(false)->dropDownList(DateModel::getMonths(), ['prompt' => 'Месяц']); ?> </div> <div class="col-lg-offset-1 col-lg-11"> <?php echo $form->field($model, 'yearOfBirth')->textArea()->label(false)->dropDownList(DateModel::getYears(), ['prompt' => 'Год']); ?> </div> </div> <?php echo $form->field($model, 'phoneInput'); ?> <?php echo $form->field($model, 'country')->dropDownList(CountryModel::getCountries()); ?> <?php echo $form->field($model, 'school', ['selectors' => ['input' => '#cat-id']])->dropDownList(School::getDropDownList(), ['id' => 'cat-id', 'prompt' => 'Выберите школу']); ?> <!--?= $form->field($model, 'school')->dropDownList(['1'=>'test','2'=>School::getDropDownList()], ['id'=>'cat-id'])?-->