{% if content is not null or isAdministrator or isShopManager %} {{ form_start(formContent, { 'action': path('foxorders_legal_terms_index', {'type': type}), 'attr': { 'id': 'kt_modal_' ~ formContent.vars.id ~ '_form', 'class': 'mx-auto px-5 w-100 py-5', } }) }} {% include 'bundles/CkEditor/ckeditor.html.twig' %} {{ formContent.content|form_row }} {% include 'Includes/Form/form_button.html.twig' with {'reset': false, 'id': 'save-content'} %} {{ form_end(formContent) }} {% else %} {{ alert('Aucun contenu disponible') }} {% endif %}