X-Git-Url: https://git.mdrn.pl/cas.git/blobdiff_plain/6b6dbacd7a4c81cdb13a15825f8df2ecffe58375..02e4db2d5557aac2b27a4cce164adc6f22f5d0cf:/src/accounts/templates/account/profile.html?ds=inline diff --git a/src/accounts/templates/account/profile.html b/src/accounts/templates/account/profile.html index af04370..18bada0 100644 --- a/src/accounts/templates/account/profile.html +++ b/src/accounts/templates/account/profile.html @@ -1,38 +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" %}

- - - -
+{% block accounts-content %} +

{% trans "Your profile" %}

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

+
{% endblock %}