{% extends 'base.html' %}

{% block title %} Смена пароля {% endblock %}

{% block menu_links %}
    <li><a href="{% url 'user-detail' user_obj.pk %}">Назад</a></li>
    <li><a href="{% url 'user-change' user_obj.pk %}">Редактирование</a></li>
{% endblock %}

{% block content %}
    <div class="container">
        <h1>Смена пароля</h1>
        {% url 'user-password-change' user_obj.pk as action_url %}
        {% include 'partial/form.html' with action_url=action_url form_method='POST' %}
    </div>
{% endblock %}