X-Git-Url: https://git.openstreetmap.org./osqa.git/blobdiff_plain/0cfa31f684a8d64a65b8a16f18bb79be49f13701..dcacc3b4c2ba2f550806a2d22b183f6fac4f63ff:/forum/skins/default/templates/users/edit.html?ds=inline diff --git a/forum/skins/default/templates/users/edit.html b/forum/skins/default/templates/users/edit.html index faede05..c789216 100644 --- a/forum/skins/default/templates/users/edit.html +++ b/forum/skins/default/templates/users/edit.html @@ -1,101 +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 %} +