3 lines
130 B
Text
3 lines
130 B
Text
- photos.each_with_index do |photo,index|
|
|
%div.item{ class: (index==0? 'active' : '') }
|
|
= image_tag(photo.picture(:banner))
|