forked from hchapman/WBOR
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdj_self.html
42 lines (38 loc) · 1.59 KB
/
dj_self.html
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
39
40
41
42
{% extends "base.html" %}
{% block title %}Edit Profile{% endblock %}
{% block left_column %}
<div id='edit-self'>
<h4>Your Profile</h4>
<form action='/dj/myself' method='post'>
<input type='hidden' value='{{ dj.key }}' name='dj_key'>
<table>
<tr>
<td><label for='fullname'>Full Name: </label></td>
<td><input id='fullname' type='text' name='fullname' value='{{ dj.fullname|escape }}'/></td>
</tr>
<tr>
<td><label for='email'>Email: </label></td>
<td><input id='email' type='text' name='email' value='{{ dj.email|escape }}' /></td>
</tr>
<tr>
<td><label for='username'>Username: </label></td>
<td><input id='username' type='text' name='username' value='{{ dj.username|escape }}' /></td>
</tr>
<tr>
<td><label for='password'>Password: </label></td>
<td><input id='password' type='password' name='password' value='' /></td>
</tr>
<tr>
<td><label for='password'>Confirm Password: </label></td>
<td><input id='confirm' type='password' name='confirm' value='' /></td>
</tr>
</table>
<input type='submit' name='submit' value="Save">
</div>
{% endblock %}
{% block right_column %}
<div>
<a href='/dj/'>Return to main index</a>
</div>
{% include "last_n_posts.html" %}
{% endblock %}