style(piece_justificative): input ux & list accepted formats

This commit is contained in:
Colin Darie 2022-11-09 09:48:36 +01:00
parent f66a0cf5a9
commit 3e992589c5
3 changed files with 18 additions and 3 deletions

View file

@ -18,8 +18,11 @@
Ré-essayer
- if !persisted?
%label.text-sm.font-weight-normal{ for: file_field_options[:id] }
%p.fr-text--sm.fr-text-mention--grey
= t('.max_file_size', max_file_size: number_to_human_size(max_file_size))
- if allowed_formats
Formats supportés :
= allowed_formats.join(', ')
%p= form.file_field(file_field_name, **file_field_options)