예제 #1
0
?>
                    <div class="clear"></div>
                    <?php 
echo $form->error($profile, "city_id");
?>
                </div>
                <div class="row">

                    <?php 
echo $form->labelEx($profile, "birthday");
?>
                    <?php 
echo $form->dropDownList($profile, "b_day", UserFunctions::days(), array('class' => 'day', 'empty' => Yii::t('trans', 'Day')));
?>
                    <?php 
echo $form->dropDownList($profile, "b_month", UserFunctions::month(), array('class' => 'month', 'empty' => Yii::t('trans', 'Month')));
?>
                    <?php 
echo $form->dropDownList($profile, "b_year", UserFunctions::years(1950), array('class' => 'year', 'empty' => Yii::t('trans', 'Year')));
?>
                    <div class="clear"></div>
                    <?php 
echo $form->error($profile, "b_day");
?>
                    <?php 
echo $form->error($profile, "b_month");
?>
                    <?php 
echo $form->error($profile, "b_year");
?>
                </div>