<div class="panel panel-default"> <?php $form = ActiveForm::begin(['id' => 'details-form']); ?> <div class="panel-body"> <div class="row"> <div class="col-sm-12"> <?php echo $form->field($model, 'username')->textInput(['data-container' => 'body', 'data-toggle' => 'popover', 'data-placement' => 'right', 'data-content' => Yii::t('podium/view', 'Username must start with a letter, contain only letters, digits and underscores, and be at least 3 characters long.'), 'data-trigger' => 'focus'])->label(Yii::t('podium/view', 'Username')); ?> </div> </div> <div class="row"> <div class="col-sm-12"> <?php echo $form->field($model, 'timezone')->widget(Select2::classname(), ['data' => Helper::timeZones(), 'theme' => Select2::THEME_KRAJEE, 'options' => ['placeholder' => Yii::t('podium/view', 'Select your time zone for proper dates display...')], 'pluginOptions' => ['allowClear' => true]])->label(Yii::t('podium/view', 'Time Zone')); ?> </div> </div> <div class="row"> <div class="col-sm-12"> <?php echo $form->field($model, 'anonymous')->checkbox(['uncheck' => 0])->label(Yii::t('podium/view', 'Hide username while forum viewing')); ?> </div> </div> <div class="row"> <div class="col-sm-12"> <button class="btn btn-success" id="show-email"><span class="glyphicon glyphicon-envelope"></span> <?php echo Yii::t('podium/view', 'Click here to change your e-mail address'); ?>
<div class="panel panel-default"> <?php $form = ActiveForm::begin(['id' => 'details-form']); ?> <div class="panel-body"> <div class="row"> <div class="col-sm-12"> <?php echo $form->field($model, 'username')->textInput(['data-container' => 'body', 'data-toggle' => 'popover', 'data-placement' => 'right', 'data-content' => Yii::t('podium/view', 'Username must start with a letter, contain only letters, digits and underscores, and be at least 3 characters long.'), 'data-trigger' => 'focus'])->label(Yii::t('podium/view', 'Username')); ?> </div> </div> <div class="row"> <div class="col-sm-12"> <?php echo $form->field($model, 'timezone')->widget(Select2::classname(), ['data' => Helper::timeZones(), 'theme' => Select2::THEME_KRAJEE, 'showToggleAll' => false, 'options' => ['placeholder' => Yii::t('podium/view', 'Select your time zone for proper dates display...')], 'pluginOptions' => ['allowClear' => true]])->label(Yii::t('podium/view', 'Time Zone'))->hint(Html::a(Yii::t('podium/view', 'What is my time zone?'), 'http://www.timezoneconverter.com/cgi-bin/findzone', ['target' => '_blank'])); ?> </div> </div> <div class="row"> <div class="col-sm-12"> <?php echo $form->field($model, 'anonymous')->checkbox(['uncheck' => 0])->label(Yii::t('podium/view', 'Hide username while forum viewing')); ?> </div> </div> <div class="row"> <div class="col-sm-6"> <div class="form-group"> <button class="btn btn-warning btn-block <?php echo !empty($model->new_email) ? 'hide' : '';