2023-06-27 17:38:37 +02:00
|
|
|
.fr-downloads-group
|
2024-09-06 10:46:28 +02:00
|
|
|
- if profile == 'instructeur'
|
2024-04-26 16:47:19 +02:00
|
|
|
.gallery-items-list
|
2024-05-07 16:41:20 +02:00
|
|
|
- champ.piece_justificative_file.attachments.with_all_variant_records.each do |attachment|
|
2024-09-09 10:33:31 +02:00
|
|
|
= render Attachment::GalleryItemComponent.new(attachment:, gallery_demande: true)
|
2024-06-11 16:52:14 +02:00
|
|
|
- else
|
|
|
|
%ul
|
|
|
|
- champ.piece_justificative_file.attachments.each do |attachment|
|
|
|
|
%li= render Attachment::ShowComponent.new(attachment:, new_tab: true)
|