display max size and format as hint

This commit is contained in:
Christophe Robillard 2023-09-25 14:32:09 +02:00
parent e972514ec6
commit 3ff7bc7234

View file

@ -20,7 +20,7 @@
%p.fr-error-text= error_message
- elsif first?
%p.fr-text--sm.fr-text-mention--grey.fr-mb-1w
%p.fr-hint-text.fr-mb-1w
- if max_file_size.present?
= t('.max_file_size', max_file_size: number_to_human_size(max_file_size))
- if allowed_formats