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

6 lines
194 B
Text

- pj = champ.piece_justificative_file
- if pj.attached?
- pj.attachments.each do |attachment|
= render Attachment::ShowComponent.new(attachment:)
- else
Pièce justificative non fournie