account_deactivate.php 1008 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>