сделал частично работающую смену пароля

This commit is contained in:
2024-01-19 14:07:43 +03:00
parent a611b1784d
commit 345d807f06
6 changed files with 68 additions and 16 deletions

View File

@@ -0,0 +1,25 @@
{% extends 'account/register.html' %}
{% load static %}
{% block title %} Смена пароля {% endblock %}
{% block header-title %} Смена пароля {{ target_user.login }} {% endblock %}
{% block content %}
<div id="form-wrapper">
<form method="POST">
{% csrf_token %}
{% for field in form %}
<div class="form-row">
{{ field.label_tag }} {{ field }}
{{ field.errors }}
</div>
{% endfor %}
<div class="form-row">
<input id="submit" type="submit" value="Подтвердить">
</div>
</form>
</div>
{% endblock %}