osem-fcy/app/views/conference/_gallery_photo.html.haml

8 lines
240 B
Text
Raw Normal View History

2014-06-30 19:24:26 +05:30
- photos.each_with_index do |photo,index|
%div.item{ class: (index==0? 'active' : '') }
2014-06-30 20:32:34 +05:30
= image_tag(photo.picture(:banner))
- unless photo.description.blank?
%div.carousel-caption
2014-08-01 12:23:33 +05:30
.lead
= photo.description