{% extends app.request.query.get('action') == 'edit' ? '@LcShop/backend/default/edit.html.twig' : '@LcShop/backend/default/new.html.twig' %} {% trans_default_domain 'lcshop' %} {% block entity_form %} {% import '@LcShop/backend/default/block/macros.html.twig' as macros %} {{ form_start(form) }} {% form_theme form '@LcShop/backend/form/custom_bootstrap_4.html.twig' %}