{{ form_start(form, {'attr': {'class': 'craue_config_settings_modify'}}) }} {{ form_errors(form) }} {% for section in sections | craue_sortSections %} {% if section is not empty %}
{{ section | trans({}, 'CraueConfigBundle') }} {% endif %} {% for setting in form.settings if setting.vars.value.section == section %} {{ form_row(setting.value) }} {% endfor %} {% if section is not empty %}
{% endif %} {% endfor %} {{ form_rest(form) }} {{ form_end(form) }}