X-Git-Url: https://git.mdrn.pl/cas.git/blobdiff_plain/37e278e43ece42375352c07d9f04991ef58d992c..a8839fd03b111157daa7dc79ea0bab713118e942:/src/accounts/templates/account/profile.html diff --git a/src/accounts/templates/account/profile.html b/src/accounts/templates/account/profile.html index 15e5eaf..18bada0 100644 --- a/src/accounts/templates/account/profile.html +++ b/src/accounts/templates/account/profile.html @@ -1,41 +1,22 @@ -{% extends "base.html" %} -{% load gravatar i18n %} +{% extends "account/base.html" %} +{% load i18n %} -{% block content %} -
- -

{% trans "Logout" %}

-
-
- {% if messages %} -

{% for message in messages %}{{ message }}{% endfor %}

- {% endif %} +{% block title %}{% trans "Your profile" %}{% endblock %} -

{% trans "Your profile" %}

-
- - {{ basic_form.as_table }} - -
-
-

{% trans "Password change" %}

-
- - {{ pass_form.as_table }} - -
-
-
+{% block menu %} + {% with menu="profile" %} + {{ block.super }} + {% endwith %} +{% endblock %} -
-

{% trans "Availble services" %}

- - - - - - -
-{% endblock %} \ No newline at end of file + +{% block accounts-content %} +

{% trans "Your profile" %}

+
+ {% csrf_token %} + {{ form.as_p }} +

+
+{% endblock %}