mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
make password change crispy
This commit is contained in:
parent
6e8bf01a97
commit
fcf54fc0d2
16
InvenTree/templates/account/password_change.html
Normal file
16
InvenTree/templates/account/password_change.html
Normal file
@ -0,0 +1,16 @@
|
||||
{% extends "account/base.html" %}
|
||||
|
||||
{% load i18n crispy_forms_tags %}
|
||||
|
||||
{% block head_title %}{% trans "Change Password" %}{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<h1>{% trans "Change Password" %}</h1>
|
||||
|
||||
<form method="POST" action="{% url 'account_change_password' %}" class="password_change">
|
||||
{% csrf_token %}
|
||||
{{ form|crispy }}
|
||||
<button type="submit" name="action">{% trans "Change Password" %}</button>
|
||||
<a href="{% url 'account_reset_password' %}">{% trans "Forgot Password?" %}</a>
|
||||
</form>
|
||||
{% endblock %}
|
Loading…
Reference in New Issue
Block a user