{# Variables - type - isCodeMode - sectionForm - builderAssets - slots - sections - objectId - previewUrl #}
{{ include('@MauticCore/Helper/builder_buttons.html.twig', {'onclick': 'Mautic.closeBuilder(\'' ~ type ~'\');', 'draftDetail' : draftDetail is defined ? draftDetail : null,}, with_context=false) }}
{% if previewUrl %}

{{ 'mautic.email.urlvariant'|trans }}

{% endif %} {% if draftPreviewUrl is defined and draftPreviewUrl is not empty %}

{{ 'mautic.email.drafturlvariant'|trans }}

{% endif %}
{{ 'mautic.core.code.mode.token.dropdown.hint'|trans|purify }}

{{ 'mautic.core.slot.types'|trans }}

{% if slots is defined and slots is iterable %}
{% for slotKey, slot in slots %}

{{ slot.header|raw }}
{% endfor %}
{% endif %}

{{ 'mautic.core.drag.info'|trans }}

{{ 'mautic.core.section.types'|trans }}

{% if sections is defined and sections is iterable %}
{% for sectionKey, section in sections %}

{{ section.header }}
{% endfor %}
{% endif %}

{{ 'mautic.core.drag.info'|trans }}

{{ 'mautic.core.customize.slot'|trans }}

{{ 'mautic.core.slot.customize.info'|trans }}

{% if slots is defined and slots is iterable %} {% for slotKey, slot in slots %} {% endfor %} {% endif %}

{{ 'mautic.core.customize.section'|trans }}

{{ 'mautic.core.section.customize.info'|trans }}