'language' => 'ru', 'dateFormat' => 'yyyy-MM-dd', 'attribute' => 'dateOfBirth', 'model' => $model, ])->textInput()->hint('Please enter your name') ?--> <div class="form-group"> <div class="col-lg-offset-1 col-lg-11"> <h4><?php echo Yii::t('registration', 'Date of Birth'); ?> </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');
'language' => 'ru', 'dateFormat' => 'yyyy-MM-dd', 'attribute' => 'dateOfBirth', 'model' => $model, ])->textInput()->hint('Please enter your name') ?--> <div class="form-group"> <div class="col-lg-offset-1 col-lg-11"> <h4><?php echo Yii::t('registration', 'Date of Birth'); ?> </h4> </div> <div class="col-lg-offset-1 col-lg-11"> <?php echo $form->field($model, 'dayOfBirth')->textArea()->label(false)->dropDownList(DateModel::getDays(), ['options' => [$model->dayOfBirth => ['selected ' => true]]]); ?> </div> <div class="col-lg-offset-1 col-lg-11"> <?php echo $form->field($model, 'monthOfBirth')->textArea()->label(false)->dropDownList(DateModel::getMonths()); ?> </div> <div class="col-lg-offset-1 col-lg-11"> <?php echo $form->field($model, 'yearOfBirth')->textArea()->label(false)->dropDownList(DateModel::getYears()); ?> </div> </div> <?php echo $form->field($model, 'phoneNumber');