2012-12-16 08:31:21 +00:00
|
|
|
<!-- extend base layout -->
|
|
|
|
{% extends "base.html" %}
|
|
|
|
|
|
|
|
{% block content %}
|
|
|
|
<h1>Edit Your Profile</h1>
|
|
|
|
<form action="" method="post" name="edit">
|
|
|
|
{{form.hidden_tag()}}
|
|
|
|
<table>
|
|
|
|
<tr>
|
|
|
|
<td>Your nickname:</td>
|
2012-12-16 08:32:38 +00:00
|
|
|
<td>
|
|
|
|
{{form.nickname(size = 24)}}
|
|
|
|
{% for error in form.errors.nickname %}
|
|
|
|
<br><span style="color: red;">[{{error}}]</span>
|
|
|
|
{% endfor %}
|
|
|
|
</td>
|
2012-12-16 08:31:21 +00:00
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td>About yourself:</td>
|
|
|
|
<td>{{form.about_me(cols = 32, rows = 4)}}</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td></td>
|
|
|
|
<td><input type="submit" value="Save Changes"></td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
</form>
|
|
|
|
{% endblock %}
|