mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-15 04:34:03 +00:00
7 lines
240 B
Text
7 lines
240 B
Text
- photos.each_with_index do |photo,index|
|
|
%div.item{ class: (index==0? 'active' : '') }
|
|
= image_tag(photo.picture(:banner))
|
|
- unless photo.description.blank?
|
|
%div.carousel-caption
|
|
.lead
|
|
= photo.description
|