mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-27 12:18:54 +02:00
Show error messages for attachments file field
This commit is contained in:
parent
27969a1f65
commit
4a30819ea5
1 changed files with 1 additions and 0 deletions
|
@ -117,6 +117,7 @@
|
||||||
{{ form_label(form.file) }}
|
{{ form_label(form.file) }}
|
||||||
<div class="col-sm-9">
|
<div class="col-sm-9">
|
||||||
{{ form_widget(form.file) }}
|
{{ form_widget(form.file) }}
|
||||||
|
{{ form_errors(form.file) }}
|
||||||
<small class="text-muted">{% trans %}attachment.max_file_size{% endtrans %}: {{ max_upload_size | format_bytes }}</small>
|
<small class="text-muted">{% trans %}attachment.max_file_size{% endtrans %}: {{ max_upload_size | format_bytes }}</small>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue