- 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