{% from '@BitBagSyliusCmsPlugin/Macro/translationForm.html.twig' import translationForm %} {% form_theme form '@BitBagSyliusCmsPlugin/Form/theme.html.twig' %} {% include '@BitBagSyliusCmsPlugin/Modal/_resourcePreview.html.twig' %} {{ form_errors(form) }}
{{ form_row(form.code) }} {{ form_row(form.type) }} {{ form_row(form.file) }} {{ form_row(form.enabled) }} {{ form_row(form.products) }} {{ form_row(form.sections) }} {{ form_row(form.channels) }} {{ 'bitbag_sylius_cms_plugin.ui.preview'|trans }}
{{ translationForm(form.translations) }}