summaryrefslogtreecommitdiffstats
path: root/askbot/skins/old/templates/avatar/add.html
blob: 68a188ef0a4a14bf9ce39fe27bdfe8a7d5705031 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
{% extends "user_profile/user.html" %}
{% import "macros.html" as macros %}
{% block profilesection %}{% trans %}add avatar{% endtrans %}{% endblock %}
{% block usercontent %}
    <h2>{% trans %}Change avatar{% endtrans %}
    <p>{% trans %}Your current avatar: {% endtrans %}</p>
    {{ macros.gravatar(user, 128) }}
    {% if not avatars %}
        <p>{% trans %}You haven't uploaded an avatar yet. Please upload one now.{% endtrans %}</p>
    {% endif %}
    <form enctype="multipart/form-data" method="POST" action="{% url avatar_add %}">{% csrf_token %}
        {{ upload_avatar_form.as_p() }}
        <p><input type="submit" value="{% trans %}Upload New Image{% endtrans %}" /></p>
    </form>
{% endblock %}