Beispiel #1
0
?>

                <?php 
echo $form->field($model, 'public_email');
?>

                <?php 
echo $form->field($model, 'website');
?>

                <?php 
echo $form->field($model, 'location');
?>

                <?php 
echo $form->field($model, 'timezone')->dropDownList(ArrayHelper::map(Timezone::getAll(), 'timezone', 'name'));
?>

                <?php 
echo $form->field($model, 'gravatar_email')->hint(Html::a(Yii::t('user', 'Change your avatar at Gravatar.com'), 'http://gravatar.com'));
?>

                <?php 
echo $form->field($model, 'bio')->textarea();
?>

                <div class="form-group">
                    <div class="col-lg-offset-3 col-lg-9">
                        <?php 
echo Html::submitButton(Yii::t('user', 'Save'), ['class' => 'btn btn-block btn-success']);
?>
Beispiel #2
0
?>

                <?php 
echo $form->field($model, 'public_email');
?>

                <?php 
echo $form->field($model, 'website');
?>

                <?php 
echo $form->field($model, 'location');
?>

                <?php 
echo $form->field($model, 'timezone')->dropDownList(\yii\helpers\ArrayHelper::map(\dektrium\user\helpers\Timezone::getAll(), 'timezone', 'name'));
?>

                <?php 
echo $form->field($model, 'gravatar_email')->hint(\yii\helpers\Html::a(Yii::t('user', 'Change your avatar at Gravatar.com'), 'http://gravatar.com'));
?>

                <?php 
echo $form->field($model, 'bio')->textarea();
?>

                <div class="form-group">
                    <div class="col-lg-offset-3 col-lg-9">
                        <?php 
echo \yii\helpers\Html::submitButton(Yii::t('user', 'Save'), ['class' => 'btn btn-block btn-success']);
?>