settings.html 417 Bytes
{% extends "base.html" %}
{% load url from future %}

{% block title %}Ustawienia{% endblock %}

{% block content %}
<h1>Ustawienia użytkownika</h1>
<form method="post" action="">
  {{ form.as_p }}
  {% csrf_token %}
  <input type="hidden" name="next" value="{{ next }}"/>
  <button type="submit">
    Zapisz
  </button>
</form>
<p>
  <a href="{% url 'auth_password_change' %}">Zmiana hasła</a>
</p>
{% endblock %}