{% extends "base.html" %} {%- block content -%}
{%- for option, value in settings.items()|sort(attribute='0.name') if value is not string %} {%- endfor %}
{%- if option_map[option] is iterable -%} {# Should be Enum #} {% for poss_value in option_map[option] -%} {% endfor -%} {%- else -%} {# Should be bool #} {%- endif -%}
{%- endblock content -%}