diff --git a/src/postorius/templates/postorius/user/profile.html b/src/postorius/templates/postorius/user/profile.html index 94f74e5..7e6124c 100644 --- a/src/postorius/templates/postorius/user/profile.html +++ b/src/postorius/templates/postorius/user/profile.html @@ -14,25 +14,35 @@ - - + + - + - + {% if user.other_emails %} - - + + {% endif %} @@ -44,32 +54,25 @@ to use different addresses for your subscriptions. {% endblocktrans %}

- + {% csrf_token %} {% if form.non_field_errors %}
{{ form.non_field_errors }}
{% endif %} -
+
{{ form.email|add_form_control }} - - -
{% for error in form.email.errors %}
{{ error }}
{% endfor %} +
{% trans 'Mailman display name' %}{{ mm_user.display_name }}{% trans 'Mailman display name' %} +
+ {% csrf_token %} +
+ {{ name_form.display_name|add_form_control }} +
+ + +
+
{% trans 'Username' %}{% trans 'Username' %} {{ user.username }}
{% trans 'Main email' %}{% trans 'Main email' %} {{ user.email}}
{% trans 'Other emails' %}
    +
{% trans 'Other emails' %} {% for email in user.other_emails %} -
  • {{ email }}
  • +

    • {{ email }}

    {% endfor %} -
    -
    -
    - {% render_form_horizontal name_form 2 5 'Change display name' %} - -
    {% endblock main %}