summaryrefslogtreecommitdiffstats
path: root/templates/profile.html
blob: 3b186e133be96c0a85ed866b51b110560df3dd9c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
{% extends "base.html" %}
{% block title %}Profile{% endblock %}
{% block content %}
<h1>Your profile</h1>
<form action="profile" method="post" class="cmxform">
	<p style="font-size: small; padding-bottom: 5px;">
	Please complete the form below if you want to change your password.
	</p>
	<fieldset>
		<ol>
			<li>
			<label for="login">login</label>
			<input class="nomodify" type="text" name="login" readonly="readonly" value="{{ session.login }}"/>
			</li>
			<li>
			<label for="email">email</label>
			<input class="nomodify" type="text" name="email" readonly="readonly" value="{{ email }}"/>
			</li>
			<li>
			<label for="old_pw">old password</label>
			<input type="password" name="old_pw" />
			</li>
			<li>
			<label for="new_pw1">new password</label>
			<input type="password" name="new_pw1" />
			</li>
			<li>
			<label for="new_pw2">retype new password</label>
			<input type="password" name="new_pw2" />
			</li>
		</ol>
	</fieldset>
	<p><input type="submit" value="Submit" /></p>
</form>
<p style="text-align:right">
<a href="javascript:confirmProfileDel('del_profile')"><em>delete</em> my profile !</a>
</p>
{% endblock %}