{% import "components.html" as c with context %}
{{ c.column_header(t.text("settings.title")) }}
{% set icons = {"appearance": "sun-moon", "security": "key-round"} %} {% for key in sections %}{% set icon_name = icons[key] %} {% call c.list_item(t.text("settings." ~ key), t.text("settings." ~ key ~ ".hint"), href="/settings/" ~ key, on=(section == key), extra_class="plain") %} {{ c.icon(icon_name) }} {% endcall %} {% endfor %}
{{ c.column_header(t.text("settings." ~ section)) }}
{% include "settings_" ~ section ~ ".html" %}