2011-10-03 16:36:04 +00:00
|
|
|
{% extends "registration/registration_base.html" %}
|
|
|
|
{% block title %}Change User Data{% endblock %}
|
2011-11-19 00:50:47 +00:00
|
|
|
{% block doccontent %}
|
2012-04-25 02:20:10 +00:00
|
|
|
<h2>Changing Your Username</h2>
|
2011-10-03 16:36:04 +00:00
|
|
|
|
2012-01-13 21:24:34 +00:00
|
|
|
<p> If you change your username, the web address for your profile page will change as well.</p>
|
2012-04-25 02:20:10 +00:00
|
|
|
<div>
|
2012-01-13 21:24:34 +00:00
|
|
|
<p> <b>Your current username:</b> {{ user.username }}</p>
|
2012-03-09 18:15:30 +00:00
|
|
|
<form method="POST" action="#">
|
2011-10-03 16:36:04 +00:00
|
|
|
{% csrf_token %}
|
|
|
|
{{ form.as_p }}
|
2012-04-25 02:20:10 +00:00
|
|
|
<input type="submit" name="change_username" value="Change username" id="submit_username">
|
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
<div>
|
|
|
|
<h2>Changing Your Email</h2>
|
|
|
|
<p> <b>Your current email:</b> {{ user.email }}</p>
|
|
|
|
<form method="POST" action="#">
|
|
|
|
{% csrf_token %}
|
|
|
|
{{ emailform.as_p }}
|
|
|
|
<input type="submit" name="change_email" value="Change email" id="submit_email">
|
2011-10-03 16:36:04 +00:00
|
|
|
</form>
|
2012-04-25 02:20:10 +00:00
|
|
|
</div>
|
2012-01-13 21:24:34 +00:00
|
|
|
<p>Want to <a href="/accounts/password/change/">change your password</a> instead?</p>
|
2011-10-03 16:36:04 +00:00
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
|