Increased size of modal, added description as caption to photos

This commit is contained in:
Gopesh Tulsyan 2014-07-02 00:25:09 +05:30
parent bea55454b2
commit 3bf54f991a
7 changed files with 22 additions and 8 deletions

View file

@ -1,3 +1,7 @@
- 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
%p.lead
= photo.description