From 1cbbc401dcc7f4e76e83c42f833f08b0629919a7 Mon Sep 17 00:00:00 2001 From: Matthias Date: Thu, 2 Sep 2021 22:15:22 +0200 Subject: [PATCH] crispy tag for password reset --- .../templates/account/password_reset.html | 21 +++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 InvenTree/templates/account/password_reset.html diff --git a/InvenTree/templates/account/password_reset.html b/InvenTree/templates/account/password_reset.html new file mode 100644 index 0000000000..7ed3a5c772 --- /dev/null +++ b/InvenTree/templates/account/password_reset.html @@ -0,0 +1,21 @@ +{% extends "account/base.html" %} + +{% load i18n account crispy_forms_tags %} + +{% block head_title %}{% trans "Password Reset" %}{% endblock %} + +{% block content %} + +

{% trans "Password Reset" %}

+ {% if user.is_authenticated %} + {% include "account/snippets/already_logged_in.html" %} + {% endif %} + +

{% trans "Forgotten your password? Enter your e-mail address below, and we'll send you an e-mail allowing you to reset it." %}

+ +
+ {% csrf_token %} + {{ form|crispy }} + +
+{% endblock %}