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))
|
2014-07-02 00:25:09 +05:30
|
|
|
- unless photo.description.blank?
|
|
|
|
|
%div.carousel-caption
|
2014-08-01 12:23:33 +05:30
|
|
|
.lead
|
2014-07-02 00:25:09 +05:30
|
|
|
= photo.description
|