echo $col6; ?> "> <?php echo $form->field($model, 'last_name')->textInput(['maxlength' => 124]); ?> </div> </div> <div class="row"> <div class="col-md-<?php echo $col3; ?> "> <?php echo $form->field($model, 'gender')->dropDownList(yeesoft\models\User::getGenderList()); ?> </div> </div> <div class="row"> <div class="col-md-<?php echo $col3; ?> "> <?php echo $form->field($model, 'birth_day')->textInput(['maxlength' => 2]); ?> </div> <div class="col-md-<?php echo $col3;
<?php return ['vendorPath' => dirname(dirname(__DIR__)) . '/vendor', 'bootstrap' => ['comments', 'yee'], 'language' => 'en-US', 'sourceLanguage' => 'en-US', 'components' => ['yee' => ['class' => 'yeesoft\\Yee'], 'settings' => ['class' => 'yeesoft\\components\\Settings'], 'cache' => ['class' => 'yii\\caching\\FileCache'], 'user' => ['class' => 'yeesoft\\components\\User', 'on afterLogin' => function ($event) { \yeesoft\models\UserVisitLog::newVisitor($event->identity->id); }]], 'modules' => ['comments' => ['class' => 'yeesoft\\comments\\Comments', 'userModel' => 'yeesoft\\models\\User', 'userAvatar' => function ($user_id) { $user = yeesoft\models\User::findIdentity((int) $user_id); if ($user instanceof yeesoft\models\User) { return $user->getAvatar(); } return false; }]]];