{% for notice in flashes %}
{{ notice|safe }}
{% endfor %}
{% for option in options %}
{% set option_category = option.split(".")[0] %}
{% if option_category != tab.name %}
{% set tab.name = option_category %}
{% if tab.open %}
{% endif %}
{% set tab.open = True %}
{% endif %}
{% if options[option].default is none %}
{% set x=options[option].__setitem__("default", "") %}
{% set settings = options[option] %}
{% else %}
{% set settings = options[option] %}
{% endif %}
{% include 'components/datasource-option.html' %}
{% endfor %}