summaryrefslogtreecommitdiffstats
path: root/templates/devel
diff options
context:
space:
mode:
authorAngel Velasquez <angvp@archlinux.org>2010-09-17 22:35:24 +0200
committerDan McGee <dan@archlinux.org>2010-10-05 22:11:50 +0200
commitd6d9a08e63f2e8bfcd997eab396c65dc3b7a2918 (patch)
tree3ac7692af8757ec52d9fd159217b801ef8e3c948 /templates/devel
parentd66d0e4300052933a6bfaa016114dc6a68708905 (diff)
downloadarchweb-d6d9a08e63f2e8bfcd997eab396c65dc3b7a2918.tar.gz
archweb-d6d9a08e63f2e8bfcd997eab396c65dc3b7a2918.tar.xz
Adding changing of user profile details
The idea of this patch is allow to the developers who have an account, to change their data without asking some admin to do it for them. Dan: put private email address field back as it is used for a different purpose; add some help text and field names as appropriate. Signed-off-by: Angel Velasquez <angvp@archlinux.org> Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'templates/devel')
-rw-r--r--templates/devel/profile.html9
1 files changed, 8 insertions, 1 deletions
diff --git a/templates/devel/profile.html b/templates/devel/profile.html
index 0dde934..4da6dad 100644
--- a/templates/devel/profile.html
+++ b/templates/devel/profile.html
@@ -7,10 +7,17 @@
<h2>Developer Profile</h2>
<form id="edit-profile-form" method="post">{% csrf_token %}
+ <p><em>Note:</em> This is the public information shown on the developer
+ and/or TU profiles page, so please be appropriate with the information
+ you provide here.</p>
<fieldset>
- <legend>Username: <strong>{{ user.username }}</strong></legend>
+ <p><label>Username:</label>
+ <strong>{{ user.username }}</strong></p>
{{ form.as_p }}
</fieldset>
+ <fieldset>
+ {{ profile_form.as_p }}
+ </fieldset>
<p><label></label> <input title="Save changes" type="submit" value="Save" /></p>
</form>