* * 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\bootstrap4\ActiveForm; /** * @var yii\web\View $this * @var yii\widgets\ActiveForm $form * @var dektrium\user\models\SettingsForm $model */ $this->title = Yii::t('user', 'Account settings'); $this->params['breadcrumbs'][] = ['label' => 'Профіль', 'url' => ['index']]; $this->params['breadcrumbs'][] = $this->title; ?> render('@app/views/user/_alert', ['module' => Yii::$app->getModule('user')]) ?>

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']) ?>