boissier_app/app/views/public/promotions/_promotion.html.haml
2012-09-14 12:15:04 +02:00

12 lines
278 B
Plaintext

.promotion{:style => ("margin-right:0px" if (promotion_counter+1).modulo(3) == 0)}
.img
=image_tag promotion.image_file.file.large.medium.small.thumb.url if promotion.image_file
.title
%h3=promotion.title
.description
=simple_format promotion.description
.clear