{% set ns = namespace(last_section='') %} {% for variable in variables %} {% set section_change = variable.section and ns.last_section != variable.section %} {% if section_change %} {% if not loop.first %}{% endif %} {% endif %} {% set ns.last_section = variable.section %} {% endfor %}
{{ variable.section }}
{{ t(variable.description) }} {% if variable.value %} {% if variable.type.value == 'bool' %} {% if variable.display() %} {% else %} {% endif %} {% else %} {{ variable.display() }} {% endif %} {% else %} {{ l.common_empty }} {% endif %}