takahe/templates/admin/settings.html

21 lines
608 B
HTML
Raw Normal View History

2023-05-03 20:04:58 +00:00
{% extends "admin/base_main.html" %}
2023-04-28 01:09:16 +00:00
{% block subtitle %}{{ section.title }}{% endblock %}
{% block settings_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 %}