Show error messages for attachments file field

This commit is contained in:
Jan Böhmer 2023-03-05 23:26:06 +01:00
parent 27969a1f65
commit 4a30819ea5

View file

@ -117,6 +117,7 @@
{{ form_label(form.file) }}
<div class="col-sm-9">
{{ form_widget(form.file) }}
{{ form_errors(form.file) }}
<small class="text-muted">{% trans %}attachment.max_file_size{% endtrans %}: {{ max_upload_size | format_bytes }}</small>
</div>
</div>