{% extends '@OroUI/actions/update.html.twig' %} {% import '@OroDataGrid/macros.html.twig' as dataGrid %} {% form_theme form with oro_integration_themes(form) %} {% set entity = entity is defined ? entity : form.vars.value %} {% set formAction = formAction is defined ? formAction : (entity.id ? path('oro_integration_update', { id: entity.id }) : path('oro_integration_create')) %} {% if entity.id %} {% oro_title_set({params : {"%integration.name%": entity.name } }) %} {% endif %} {% block breadcrumbs %} {% import '@OroUI/macros.html.twig' as UI %} {{ parent() }} {% if entity.enabled %} {{ UI.badge('oro.integration.integration.enabled.active.label'|trans, 'enabled') }} {% else %} {{ UI.badge('oro.integration.integration.enabled.inactive.label'|trans, 'disabled') }} {% endif %} {% endblock breadcrumbs %} {% block navButtons %} {% import '@OroUI/macros.html.twig' as UI %} {{ UI.cancelButton(path('oro_integration_index')) }} {% if entity.id %} {% if entity.enabled %}