{% extends '@MauticCore/Default/content.html.twig' %} {% block mauticContent %}mt3sMpSmartLink{% endblock %} {% block headerTitle %} {% if form.vars.data.id %} {{ 'mt3s.smart_links.smart_links.header.edit'|trans({'%slug%': form.vars.data.slug}) }} {% else %} {{ 'mt3s.smart_links.smart_links.header.new'|trans }} {% endif %} {% endblock %} {% block content %} {{ form_start(form) }}
{{ form.vars.smart_link_domain ? form.vars.smart_link_domain ~ '/l/' : '' }}{{ form.vars.smart_link_slug }}
{{ 'mt3s.smart_links.smart_links.utm_parameters.help'|trans }}
{# One fieldset per taxonomy: Mautic's data-show-on switcher shows the one of the chosen taxonomy (the container carries the col- class the switcher toggles). #} {% for taxonomyId, fieldset in form.vars.smart_link_utm_fieldsets %}