takahe/templates/settings/settings.html

21 lines
606 B
HTML
Raw Normal View History

2022-11-17 16:43:00 -08:00
{% extends "settings/base.html" %}
2022-11-17 16:43:00 -08:00
{% block subtitle %}{{ section.title }}{% endblock %}
{% block settings_content %}
<form action="." method="POST" enctype="multipart/form-data">
{% csrf_token %}
2022-11-17 16:43:00 -08:00
{% 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 %}