Increased size of modal, added description as caption to photos
This commit is contained in:
parent
bea55454b2
commit
3bf54f991a
7 changed files with 22 additions and 8 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue