From 4a30819ea5e5ca876bb3cf07e3288e6f0ce14da5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20B=C3=B6hmer?= Date: Sun, 5 Mar 2023 23:26:06 +0100 Subject: [PATCH] Show error messages for attachments file field --- templates/parts/edit/edit_form_styles.html.twig | 1 + 1 file changed, 1 insertion(+) diff --git a/templates/parts/edit/edit_form_styles.html.twig b/templates/parts/edit/edit_form_styles.html.twig index d41972f5..7ff81b77 100644 --- a/templates/parts/edit/edit_form_styles.html.twig +++ b/templates/parts/edit/edit_form_styles.html.twig @@ -117,6 +117,7 @@ {{ form_label(form.file) }}
{{ form_widget(form.file) }} + {{ form_errors(form.file) }} {% trans %}attachment.max_file_size{% endtrans %}: {{ max_upload_size | format_bytes }}