X-Git-Url: https://git.openstreetmap.org./osqa.git/blobdiff_plain/b8f3a2323d03384198863e35d6467a8624a2e31a..b97ddb66b6ffc6b7897ae6eb8b82409d66c89827:/forum/skins/default/templates/users/edit.html diff --git a/forum/skins/default/templates/users/edit.html b/forum/skins/default/templates/users/edit.html index b3a7e74..e21bf32 100644 --- a/forum/skins/default/templates/users/edit.html +++ b/forum/skins/default/templates/users/edit.html @@ -30,13 +30,13 @@ {% endblock %} {% block content %}
- {{ request.user.username }} - {% trans "edit profile" %} + {{ user.username }} - {% trans "edit profile" %}
-
+
- {% if request.user.email %} - {% gravatar request.user 128 %} + {% if user.email %} + {% gravatar user 128 %} {% else %} {% endif %} @@ -55,7 +55,13 @@ {% trans "Screen Name" %}: - {{ request.user.username }} {{ form.username.errors }} + + {% if form.username %} + {{ form.username }} {{ form.username.errors }} + {% else %} + {{ user.username }} + {% endif %} +