* * For the full copyright and license information, please view the LICENSE.md * file that was distributed with this source code. */ use yii\helpers\Html; use yii\widgets\ActiveForm; /** * @var $this yii\web\View * @var $form yii\widgets\ActiveForm * @var $model dektrium\user\models\SettingsForm */ $this->title = Yii::t('user', 'Account settings'); $this->params['breadcrumbs'][] = $this->title; ?> render('/_alert', ['module' => Yii::$app->getModule('user')]) ?>
render('_menu') ?>

title) ?>

'account-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, ]); ?> field($model, 'email') ?> field($model, 'username') ?> field($model, 'new_password')->passwordInput() ?>
field($model, 'current_password')->passwordInput() ?>
'btn btn-block btn-success']) ?>
module->enableAccountDelete): ?>

. . .

'btn btn-danger', 'data-method' => 'post', 'data-confirm' => Yii::t('user', 'Are you sure? There is no going back'), ]) ?>