account_deactivate.php 999 B

123456789101112131415161718192021222324
  1. <div class="container mt-3 py-4">
  2. <h2><?=htmlspecialchars(_("Deactivate Account"))?></h2>
  3. <p><?=htmlspecialchars(_("By deactivating your account, you will:"))?></p>
  4. <ul>
  5. <li><?=htmlspecialchars(_("No longer be assigned tests."))?></li>
  6. <li><?=htmlspecialchars(_("No longer be able to participate in tests."))?></li>
  7. <li><?=htmlspecialchars(_("Unassign yourself from all currently assigned tests."))?></li>
  8. </ul>
  9. <p><?=htmlspecialchars(_("You can always log into your account and reactivate the account should you wish to continue to use our services, however you will lose your currently assigned tests."))?></p>
  10. <p class="text-danger">
  11. <?=htmlspecialchars(_("This action cannot be undone."))?>
  12. </p>
  13. <form method="post">
  14. <button class="btn btn-danger" type="submit" name="submit" value="<?=$_SESSION["csrf_token"]?>"><?=htmlspecialchars(_("Deactivate Account"))?></button>
  15. <a class="btn btn-secondary" href="/account"><?=htmlspecialchars(_("Cancel"))?></a>
  16. </form>
  17. </div>