X-Git-Url: https://git.openstreetmap.org./osqa.git/blobdiff_plain/410bfa05ee36ed1d99356c443a5f3f6aa3ee9578..fff6f83f3de32fa25f6e9f611cc912706a092c5d:/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 b86c59d..950c90a 100644 --- a/forum/skins/default/templates/users/edit.html +++ b/forum/skins/default/templates/users/edit.html @@ -1,105 +1,108 @@ -{% extends "base_content.html" %} - -{% load extra_tags %} -{% load humanize %} -{% load i18n %} -{% block title %}{% spaceless %}{% trans "Edit user profile" %}{% endspaceless %}{% endblock %} -{% block forejs %} - - - - - - - - - - - {% block userjs %} - {% endblock %} -{% endblock %} -{% block content %} -
- {{ request.user.username }} - {% trans "edit profile" %} -
-
-
-
- {% if request.user.email %} - {% gravatar request.user 128 %} - {% else %} - - {% endif %} -
- {% blocktrans %}avatar, see {{gravatar_faq_url}}{% endblocktrans %} -
-
- -
-

{% trans "Registered user" %}

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
{% trans "Screen Name" %}:{{ request.user.username }} {{ form.username.errors }}
{{ form.email.label_tag }}:{{ form.email }} {{ form.email.errors }}
{{ form.email.help_text }}
{{ form.realname.label_tag }}:{{ form.realname }} {{ form.realname.errors }}
{{ form.website.label_tag }}:{{ form.website }} {{ form.website.errors }}
{{ form.city.label_tag }}:{{ form.city }} {{ form.city.errors }}
{{ form.birthday.label_tag }}:{{ form.birthday }} {{ form.birthday.errors }}
{{ form.about.label_tag }}:{{ form.about }} {{ form.about.errors }}
-
- - - -
-
-
- -
-{% endblock %} - +{% extends "base_content.html" %} + +{% load extra_tags %} +{% load humanize %} +{% load i18n %} +{% block title %}{% spaceless %}{% trans "Edit user profile" %}{% endspaceless %}{% endblock %} +{% block forejs %} + + + + + + + {% block userjs %} + {% endblock %} +{% endblock %} +{% block content %} +
+ {{ user.username }} - {% trans "edit profile" %} +
+
+
+ {% csrf_token %} +
+ {% if user.email %} + {% gravatar user 128 %} + {% else %} + + {% endif %} +
+ {% trans "gravatar" %} +
+
+ +
+

{% trans "Registered user" %}

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
{% trans "Screen Name" %}: + {% if form.username %} + {{ form.username }} {{ form.username.errors }} + {% else %} + {{ user.username }} + {% endif %} +
{{ form.email.label_tag }}:{{ form.email }} {{ form.email.errors }}
{{ form.email.help_text }}
{{ form.realname.label_tag }}:{{ form.realname }} {{ form.realname.errors }}
{{ form.website.label_tag }}:{{ form.website }} {{ form.website.errors }}
{{ form.city.label_tag }}:{{ form.city }} {{ form.city.errors }}
{{ form.birthday.label_tag }}:{{ form.birthday }} {{ form.birthday.errors }}
{{ form.about.label_tag }}:{{ form.about }} {{ form.about.errors }}
+
+ + + +
+
+
+ +
+{% endblock %} +