diff options
Diffstat (limited to 'templates/settings/settings.html')
-rw-r--r-- | templates/settings/settings.html | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/templates/settings/settings.html b/templates/settings/settings.html index 016eebb..a933627 100644 --- a/templates/settings/settings.html +++ b/templates/settings/settings.html @@ -1,15 +1,17 @@ -{% extends "base.html" %} +{% extends "settings/base.html" %} -{% block title %}{{ section.title }} - Settings{% endblock %} +{% block subtitle %}{{ section.title }}{% endblock %} {% block content %} - {% block menu %} - {% include "settings/_menu.html" %} - {% endblock %} <form action="." method="POST"> {% csrf_token %} - {% for field in form %} - {% include "forms/_field.html" %} + {% 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> |