* * For the full copyright and license information, please view the LICENSE.md * file that was distributed with this source code. */ use yii\helpers\Html; /** * @var yii\web\View $this * @var yii\widgets\ActiveForm $form * @var dektrium\user\models\Profile $profile */ $this->title = Yii::t('user', 'Profile settings'); $this->params['breadcrumbs'][] = $this->title; ?> render('/shared/_alert', ['module' => Yii::$app->getModule('user')]) ?>
render('_menu') ?>
title) ?>
'profile-form', 'options' => ['class' => 'form-horizontal'], 'fieldConfig' => [ 'template' => "{label}\n
{input}
\n
{error}\n{hint}
", 'labelOptions' => ['class' => 'col-lg-3 control-label'], ], 'enableAjaxValidation' => true, 'enableClientValidation' => false, 'validateOnBlur' => false, ]); ?> field($model, 'name') ?> field($model, 'public_email') ?> field($model, 'website') ?> field($model, 'location') ?> field($model, 'timezone') ->dropDownList( \yii\helpers\ArrayHelper::map( \dektrium\user\helpers\Timezone::getAll(), 'timezone', 'name' ) ); ?> field($model, 'gravatar_email') ->hint( \yii\helpers\Html::a( Yii::t('user', 'Change your avatar at Gravatar.com'), 'http://gravatar.com' ) ) ?> field($model, 'bio')->textarea() ?>
'btn btn-block btn-success'] ) ?>