summaryrefslogtreecommitdiffstats
path: root/templates/settings/settings.html
blob: a93362767af2da89e5eef5c850f4196b87a6a8c9 (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">
        {% 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 %}