From 3b792787d741932acc4d1e35124d38886bad11d7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20L=C5=93uillet?= Date: Fri, 12 May 2017 16:33:12 +0200 Subject: Upgraded CraueConfigBundle to 2.0 --- .../CraueConfigBundle/views/Settings/modify.html.twig | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'app/Resources/CraueConfigBundle/views/Settings') diff --git a/app/Resources/CraueConfigBundle/views/Settings/modify.html.twig b/app/Resources/CraueConfigBundle/views/Settings/modify.html.twig index c4e735ee..b81b8651 100644 --- a/app/Resources/CraueConfigBundle/views/Settings/modify.html.twig +++ b/app/Resources/CraueConfigBundle/views/Settings/modify.html.twig @@ -20,12 +20,10 @@ {% for section in sections | craue_sortSections %}
- {% for setting in form.settings if setting.section.vars.value == section %} - {{ form_row(setting.name) }} - {{ form_row(setting.section) }} - {{ form_row(setting.value, { - 'label': setting.name.vars.value | trans({}, 'CraueConfigBundle'), - }) }} + {% for setting in form.settings if setting.vars.value.section == section %} + {{ form_row(setting.value, { + 'label': setting.vars.value.name | trans({}, 'CraueConfigBundle'), + }) }} {% endfor %}
{% endfor %} -- cgit v1.2.3