demarches-normaliennes/app/views/shared/champs/piece_justificative/_show.html.haml

8 lines
250 B
Text

- pj = champ.piece_justificative_file
- if pj.attached?
.fr-downloads-group
%ul
- pj.attachments.each do |attachment|
%li= render Attachment::ShowComponent.new(attachment:, new_tab: true)
- else
Pièce justificative non fournie