* * 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; ?> = $this->render('/_alert', ['module' => Yii::$app->getModule('user')]) ?>
= Yii::t('user', 'Once you delete your account, there is no going back') ?>. = Yii::t('user', 'It will be deleted forever') ?>. = Yii::t('user', 'Please be certain') ?>.
= Html::a(Yii::t('user', 'Delete account'), ['delete'], [ 'class' => 'btn btn-danger', 'data-method' => 'post', 'data-confirm' => Yii::t('user', 'Are you sure? There is no going back'), ]) ?>