{% extends "user/base.html" %} {% load i18n %} {% block page %} <h1>{% trans 'Update details' %}</h1> <form action="" method="post" class="form-horizontal"> {% csrf_token %} {% include 'partials/form.html' %} <input class="btn btn-primary" type="submit" value="{% trans 'Update' %}"> <a class="btn btn-danger" href="{% url 'passbook_core:user-delete' %}?back={{ request.get_full_path }}">{% trans 'Delete user' %}</a> </form> {% endblock %}