cleaning up user change form
parent
bb4bf65a9d
commit
d73304e1a6
|
@ -1,6 +1,7 @@
|
||||||
{% extends "registration/registration_base.html" %}
|
{% extends "registration/registration_base.html" %}
|
||||||
{% block title %}Change password{% endblock %}
|
{% block title %}Change password{% endblock %}
|
||||||
{% block content %}
|
{% block content %}
|
||||||
|
{{ request.user.password }}
|
||||||
<form method='post' action=''>{% csrf_token %}
|
<form method='post' action=''>{% csrf_token %}
|
||||||
<table>
|
<table>
|
||||||
{{ form }}
|
{{ form }}
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
{% extends "base.html" %}
|
{% extends "basedocumentation.html" %}
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
{{ form.as_p }}
|
{{ form.as_p }}
|
||||||
<input type="submit" name="submit" value="Change" id="submit">
|
<input type="submit" name="submit" value="Change" id="submit">
|
||||||
</form>
|
</form>
|
||||||
<p><a href="/profiles/edit/">Edit Your Profile</a></p>
|
<p><a href="/accounts/password/change/">Change your password</a></p>
|
||||||
</div>
|
</div>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue