From 616d027aadf7bc27ea16e209c04232c6cb791a5a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miko=C5=82aj=20Kr=C3=B3l?= Date: Mon, 13 Nov 2017 21:56:55 +0100 Subject: [PATCH] [Behat] Fix build --- .../config/grids/admin/frequently_asked_question.yml | 6 ------ .../views/FrequentlyAskedQuestion/Crud/_form.html.twig | 6 ++++-- 2 files changed, 4 insertions(+), 8 deletions(-) diff --git a/src/Resources/config/grids/admin/frequently_asked_question.yml b/src/Resources/config/grids/admin/frequently_asked_question.yml index c75dc821..146d1308 100755 --- a/src/Resources/config/grids/admin/frequently_asked_question.yml +++ b/src/Resources/config/grids/admin/frequently_asked_question.yml @@ -26,12 +26,6 @@ sylius_grid: type: string label: bitbag.ui.answer sortable: translation.answer - sections: - type: twig - label: bitbag.ui.sections - path: . - options: - template: "@BitBagCmsPlugin/Grid/Field/sections.html.twig" filters: search: type: string diff --git a/src/Resources/views/FrequentlyAskedQuestion/Crud/_form.html.twig b/src/Resources/views/FrequentlyAskedQuestion/Crud/_form.html.twig index aab9118d..acda591a 100644 --- a/src/Resources/views/FrequentlyAskedQuestion/Crud/_form.html.twig +++ b/src/Resources/views/FrequentlyAskedQuestion/Crud/_form.html.twig @@ -1,3 +1,4 @@ +{% from '@SyliusAdmin/Macro/translationForm.html.twig' import translationForm %} {% form_theme form '@BitBagCmsPlugin/Form/theme.html.twig' %} {{ form_errors(form) }} @@ -8,5 +9,6 @@ {{ form_row(form.position) }} {{ form_row(form.enabled) }} - {{ form_row(form.sections) }} - \ No newline at end of file + + +{{ translationForm(form.translations) }}