diff options
author | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2017-05-12 16:33:12 +0200 |
---|---|---|
committer | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2017-05-12 16:39:47 +0200 |
commit | 3b792787d741932acc4d1e35124d38886bad11d7 (patch) | |
tree | c794606b49761ec35891ef4b3258a07dcc42f4f2 /app/Resources | |
parent | 06568b15bb9e9116fa4d4a42246e1b0e497bbf25 (diff) | |
download | wallabag-3b792787d741932acc4d1e35124d38886bad11d7.tar.gz wallabag-3b792787d741932acc4d1e35124d38886bad11d7.tar.zst wallabag-3b792787d741932acc4d1e35124d38886bad11d7.zip |
Upgraded CraueConfigBundle to 2.0
Diffstat (limited to 'app/Resources')
-rw-r--r-- | app/Resources/CraueConfigBundle/views/Settings/modify.html.twig | 10 |
1 files changed, 4 insertions, 6 deletions
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 @@ | |||
20 | 20 | ||
21 | {% for section in sections | craue_sortSections %} | 21 | {% for section in sections | craue_sortSections %} |
22 | <div id="set-{{ section }}" class="col s12"> | 22 | <div id="set-{{ section }}" class="col s12"> |
23 | {% for setting in form.settings if setting.section.vars.value == section %} | 23 | {% for setting in form.settings if setting.vars.value.section == section %} |
24 | {{ form_row(setting.name) }} | 24 | {{ form_row(setting.value, { |
25 | {{ form_row(setting.section) }} | 25 | 'label': setting.vars.value.name | trans({}, 'CraueConfigBundle'), |
26 | {{ form_row(setting.value, { | 26 | }) }} |
27 | 'label': setting.name.vars.value | trans({}, 'CraueConfigBundle'), | ||
28 | }) }} | ||
29 | {% endfor %} | 27 | {% endfor %} |
30 | </div> | 28 | </div> |
31 | {% endfor %} | 29 | {% endfor %} |