parent
11d75e2992
commit
216ea1a82c
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -0,0 +1,27 @@ |
||||
{% extends "base.html" %} |
||||
|
||||
{% block title %} |
||||
Account |
||||
{% endblock %} |
||||
|
||||
{% block content %} |
||||
|
||||
<div class="login"> |
||||
|
||||
{% if messages %} |
||||
<p> |
||||
{% for message in messages %} |
||||
<span class="primary label">{{ message }}</span> |
||||
{% endfor %} |
||||
</p> |
||||
{% endif %} |
||||
|
||||
<h1>Account</h1> |
||||
|
||||
<ul> |
||||
<li><a href="{% url 'news:password_change' %}">Change password</a></li> |
||||
</ul> |
||||
|
||||
</div> |
||||
|
||||
{% endblock %} |
||||
@ -0,0 +1,15 @@ |
||||
{% extends "base.html" %} |
||||
|
||||
{% block title %} |
||||
Change password |
||||
{% endblock %} |
||||
|
||||
{% block content %} |
||||
|
||||
<form method="post"> |
||||
{% csrf_token %} |
||||
{{ form }} |
||||
<button type="submit">Save changes</button> |
||||
</form> |
||||
|
||||
{% endblock %} |
||||
Loading…
Reference in new issue