Added custom HTML code for password change views. Closes #3
This commit is contained in:
parent
1f87da045f
commit
535971333d
3 changed files with 42 additions and 1 deletions
|
|
@ -0,0 +1,11 @@
|
|||
{% extends "base.html" %}
|
||||
|
||||
{% block content %}
|
||||
|
||||
<h1>Password change successful</h1>
|
||||
|
||||
<section class="section">
|
||||
Your password was changed successfully.
|
||||
</section>
|
||||
|
||||
{% endblock %}
|
||||
|
|
@ -0,0 +1,17 @@
|
|||
{% extends "base.html" %}
|
||||
{% load crispy_forms_tags %}
|
||||
|
||||
{% block content %}
|
||||
|
||||
<h1>Change your password</h1>
|
||||
|
||||
<section class="section">
|
||||
|
||||
<form method="post" action="{% url 'password_change' %}">
|
||||
{% csrf_token %}
|
||||
{{ form|crispy }}
|
||||
<input class="button is-warning" type="submit" value="Change Password">
|
||||
</form>
|
||||
</section>
|
||||
|
||||
{% endblock %}
|
||||
Loading…
Add table
Add a link
Reference in a new issue