summaryrefslogtreecommitdiffstats
path: root/templates/settings/profile.html
blob: 5c00557eff0b07b22c042177573cfbe3b895f52f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{% extends "settings/base.html" %}

{% block subtitle %}Profile{% endblock %}

{% block content %}
    <form action="." method="POST" enctype="multipart/form-data" >
        {% csrf_token %}
        <fieldset>
            <legend>Details</legend>
            {% include "forms/_field.html" with field=form.name %}
            {% include "forms/_field.html" with field=form.summary %}
        </fieldset>
        <fieldset>
            <legend>Images</legend>
            {% include "forms/_field.html" with field=form.icon preview=request.identity.icon.url %}
            {% include "forms/_field.html" with field=form.image preview=request.identity.image.url %}
        </fieldset>
        <div class="buttons">
            <a href="{{ request.identity.urls.view }}" class="button secondary left">View Profile</a>
            <button>Save</button>
        </div>
    </form>
{% endblock %}