{# Variables - form - notification - forceTypeSelection (optional, bool, default=false) This will be defined when the notification entity is being edited #} {% extends '@MauticCore/Default/content.html.twig' %} {% block mauticContent %}notification{% endblock %} {% block headerTitle %} {% if notification.id %} {{ 'mautic.notification.header.edit'|trans({'%name%': notification.name}) }} {% else %} {{ 'mautic.notification.header.new'|trans }} {% endif %} {% endblock %} {% block content %} {{ form_start(form) }}
{{ form_row(form.name) }} {{ form_row(form.heading) }} {{ form_row(form.message) }} {{ form_row(form.url) }} {{ form_row(form.button) }}
{{ include('@MauticNotification/Notification/preview.html.twig', { 'notification': notification, }, with_context=false) }}
{{ form_row(form.category) }} {{ form_row(form.language) }}
{{ 'mautic.email.utm_tags'|trans }}

{% for utmTag in form.utmTags %} {{ form_row(utmTag) }} {% endfor %}
{{ form_row(form.isPublished) }} {{ form_row(form.publishUp) }} {{ form_row(form.publishDown) }} {{ form_rest(form) }}
{{ form_end(form) }} {% endblock %}