{% set formAttr = stimulus_controller('form-upload-guard')|stimulus_action('form-upload-guard', 'guard', 'submit') %} {{ form_start(form, { 'attr': formAttr.toArray() }) }} {{ form_errors(form) }}
{{ form_row(form.name) }} {{ form_row(form.subject) }} {{ form_row(form.message) }}
{{ include('_partials/_mailing_placeholders.html.twig', { 'placeholders': placeholders }) }} {{ include('_partials/_markdown_hint.html.twig') }}
Anhänge
Sie gehen mit jeder Mail aus dieser Vorlage mit. Nur PDF, bis 5 MB je Datei und {{ maxAttachmentBytes|file_size(0) }} zusammen.
{% if form.removeAttachments is defined %} {% endif %} {{ include('_partials/_pending_uploads.html.twig', { 'uploads': pending }) }} {% include '_partials/_upload_collection_form.html.twig' with { 'endpoint_upload': path('_uploader_upload_mailing_template'), 'max_filesize': 5, 'accepted_files': 'application/pdf', } %}
Abbrechen
{{ form_rest(form) }} {{ form_end(form) }}