From d64ae60c268f5c52f8f4c5cb5fadd7e9ae608afd Mon Sep 17 00:00:00 2001 From: Craig Oates Date: Sat, 8 Oct 2022 13:01:45 +0100 Subject: [PATCH] update /user/edit.html template (split 'edit' form into two). This update seperates the form previous version of the template (for updating the user's display name and password) into two. This is because of a change in the back-end defroutes. It's makes it easier on the back-end to update the password and display name seperately with different HTTP POST requests (and HTML form data). --- templates/user/edit.html | 50 ++++++++++++++++++++++++++++++---------- 1 file changed, 38 insertions(+), 12 deletions(-) diff --git a/templates/user/edit.html b/templates/user/edit.html index eaa5572..3f5c493 100644 --- a/templates/user/edit.html +++ b/templates/user/edit.html @@ -4,36 +4,62 @@

Edit Account

-
- + Your 'username' is what you use to login to the + website. That cannot be changed. Your 'display name' is + the name used in places like your Dashboard. +

+ + value="{{user.display-name}}" + placeholder="Enter your display name here..."> + +
+ +
+ - + - +

Delete Account

Warning: This cannot be undone. Enter '{{user.username}}' in - the text box before clicking 'Delete Account' to confirm deletion. + the text box below before clicking 'Delete Account' to confirm + deletion.