regluit/frontend/templates/registration/password_change_form.html

20 lines
665 B
HTML
Raw Normal View History

2015-04-28 03:24:02 +00:00
{% extends 'registration/registration_base.html' %}
2016-05-11 14:41:50 +00:00
{% block title %}Change password{% endblock %}
{% block doccontent %}
{% if request.user.is_authenticated %}
<form method='post' action=''>{% csrf_token %}
{{ form.as_p }}
<p><input type='submit' value="Change password" /></p>
</form>
{% else %}
<div>You must be logged in to change your password.</div>
2015-04-28 03:24:02 +00:00
<a href="{% url 'superlogin' %}?next={% if request.GET.next %}{{ request.GET.next|urlencode }}{% else %}/next/{% endif %}" class="nounderline"><div class="actionbutton">Log in</div></a>
{% endif %}
<p>Want to <a href="{% url 'edit_user' %}">change your username</a> instead?</p>
{% endblock %}