first commit
This commit is contained in:
25
templates/account/password_change.html
Executable file
25
templates/account/password_change.html
Executable file
@@ -0,0 +1,25 @@
|
||||
{% extends "account/base_manage_password.html" %}
|
||||
{% load allauth i18n %}
|
||||
{% block head_title %}
|
||||
{% trans "Change Password" %}
|
||||
{% endblock head_title %}
|
||||
{% block content %}
|
||||
{% element h1 %}
|
||||
{% trans "Change Password" %}
|
||||
{% endelement %}
|
||||
{% url 'account_change_password' as action_url %}
|
||||
{% element form form=form method="post" action=action_url %}
|
||||
{% slot body %}
|
||||
{% csrf_token %}
|
||||
{{ redirect_field }}
|
||||
{% element fields form=form %}
|
||||
{% endelement %}
|
||||
{% endslot %}
|
||||
{% slot actions %}
|
||||
{% element button type="submit" %}
|
||||
{% trans "Change Password" %}
|
||||
{% endelement %}
|
||||
<a href="{% url 'account_reset_password' %}">{% trans "Forgot Password?" %}</a>
|
||||
{% endslot %}
|
||||
{% endelement %}
|
||||
{% endblock content %}
|
||||
Reference in New Issue
Block a user