{% if option_is_disabled %} {% set tr_class = tr_class ~ ' disabled-field' %} {% endif %} {% if doc is not empty %} {{- get_image('b_help', 'Documentation'|trans) -}} {% endif %} {% if option_is_disabled %} {% trans 'Disabled' %} {% endif %} {% if description is not empty %} {{ description|raw }} {% endif %} {% if type == 'text' %} {% elseif type == 'password' %} {% elseif type == 'short_text' and value is not iterable %} {# https://github.com/phpmyadmin/phpmyadmin/issues/11505 #} {% elseif type == 'number_text' %} {% elseif type == 'checkbox' %} {% elseif type == 'select' %} {% elseif type == 'list' %} {% endif %} {% if is_setup and comment %} {{ get_image('b_tblops', 'Comment'|trans) }} {% endif %} {% if set_value %} {{- get_image('b_edit', 'Set value: %s'|trans|format(set_value)) -}} {% endif %} {% if show_restore_default %} {{- get_image('s_reload', 'Restore default value'|trans) -}} {% endif %} {# This must match with displayErrors() in scripts/config.js. #} {% if has_errors %}
{% for error in errors %}
{{ error|raw }}
{% endfor %}
{% endif %} {% if is_setup and allows_customization is not null %} {% elseif is_setup %}   {% endif %}