<h1><?=$this->getTrans('deleteaccount') ?></h1>
<div class="row mb-3">
    <div class="col-xl-8 col-lg-8 col-8">
        <b>
        <?php if ($this->get('delete_time') > 0): ?>
        <?=$this->getTrans('deleteaccountwithdayInfoText', $this->get('delete_time')) ?>
        <?php else: ?>
        <?=$this->getTrans('deleteaccountInfoText') ?>
        <?php endif; ?>
        </b><br><br>
        <a href="<?=$this->getUrl(['action' => 'deleteaccount'], null, true) ?>" class="delete_button btn btn-danger btn-lg active" role="button" aria-pressed="true">
            <?=$this->getTrans('delete') ?>
        </a>
    </div>
</div>
<script>
let deleteEntry = <?=json_encode($this->getTrans('deleteaccountquestion')) ?>;
</script>
