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

{% block subtitle %}{{ section.title }}{% endblock %}

{% block content %}
    <form action="." method="POST" enctype="multipart/form-data">
        {% csrf_token %}
        {% for title, fields in fieldsets.items %}
            <fieldset>
                <legend>{{ title }}</legend>
                {% for field in fields %}
                    {% include "forms/_field.html" %}
                {% endfor %}
            </fieldset>
        {% endfor %}
        <div class="buttons">
            <button>Save</button>
        </div>
    </form>
{% endblock %}