summaryrefslogtreecommitdiff
path: root/views/account_delete.pug
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2025-05-06 20:30:33 +0200
committerTor Andersson <tor@ccxvii.net>2025-05-06 20:45:32 +0200
commit6ae417c0be86a44b6dfeb7537da1f9b70a288950 (patch)
treef149b0423f52c46a152ff032e0a20abbb1d3191b /views/account_delete.pug
parent644c287eede443c608eeab0cc6cd41da228947e3 (diff)
downloadserver-6ae417c0be86a44b6dfeb7537da1f9b70a288950.tar.gz
Rename pug files to match access url.
Diffstat (limited to 'views/account_delete.pug')
-rw-r--r--views/account_delete.pug28
1 files changed, 28 insertions, 0 deletions
diff --git a/views/account_delete.pug b/views/account_delete.pug
new file mode 100644
index 0000000..54c3bc4
--- /dev/null
+++ b/views/account_delete.pug
@@ -0,0 +1,28 @@
+//- vim:ts=4:sw=4:
+doctype html
+html
+ head
+ include head
+ title Delete account
+ body
+ include header
+ article
+ h1 Delete account
+ if flash
+ p.error= flash
+
+ form(method="post")
+ p Name: #{user.name}
+ p Mail: #{user.mail}
+ p
+ label Password:
+ br
+ input(type="password" name="password" required)
+ p
+ label Type DELETE to confirm:
+ br
+ input(type="text" name="confirm" pattern="^DELETE$" required)
+ p.warning WARNING: Deleting your account is permanent!
+ p All your games and messages will be lost forever.
+ p
+ button(type="submit") Delete!