osem-fcy/app/views/conference/_gallery_photo.html.haml
2014-08-07 16:34:22 +05:30

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