osem-fcy/app/views/conference/_gallery_photo.html.haml
2014-07-01 21:52:33 +05:30

3 lines
121 B
Text

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