%PDF- %PDF-
Direktori : /home/vacivi36/intranet.vacivitta.com.br/protected/humhub/modules/user/views/account/ |
Current File : /home/vacivi36/intranet.vacivitta.com.br/protected/humhub/modules/user/views/account/delete.php |
<?php use yii\bootstrap\Html; use yii\bootstrap\ActiveForm; ?> <?php $this->beginContent('@user/views/account/_userProfileLayout.php') ?> <strong><?= Yii::t('UserModule.account', 'Are you sure that you want to delete your account?'); ?></strong> <br /> <br /> <div class="alert alert-danger"><?= Yii::t('UserModule.account', 'All your personal data will be irrevocably deleted.'); ?></div> <?php $form = ActiveForm::begin(); ?> <?php if ($model->isAttributeRequired('currentPassword')): ?> <?= $form->field($model, 'currentPassword')->passwordInput(['maxlength' => 45, 'placeholder' => Yii::t('UserModule.account', 'Enter your password to continue')]); ?> <?php else: ?> <?= $form->field($model, 'currentPassword')->hiddenInput()->label(false); ?> <?php endif; ?> <br /> <?= Html::submitButton(Yii::t('UserModule.account', 'Delete account'), ['class' => 'btn btn-danger', 'data-ui-loader' => '']); ?> <?php ActiveForm::end(); ?> <?php $this->endContent(); ?>