{% set id='edit-setting' %}
{% set form_width = 200 %} {% if allowed.__len__() > 0 and key not in allowed %} {% set key = list(allowed)[0] %} {% endif %} {% if allowed.__len__() < 1 %} : {% elif allowed.__len__() == 1 %} {{ list(allowed)[0] }}: {% else %} {% endif %} {% for k, vs in allowed.items() %} {% if isinstance(vs, list) %} {% else %} {% endif %} {% endfor %} {% include "accept.html" %} {% include "cancel.html" %}
{% if allowed.__len__() > 1 %} {% endif %}