From 9bb059493e6ae162af7c85ce8bd20957053849ac Mon Sep 17 00:00:00 2001 From: Will Marshall Date: Wed, 28 May 2014 16:03:05 +1000 Subject: [PATCH] Fixing the image render --- app/views/groups/index.html.haml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/views/groups/index.html.haml b/app/views/groups/index.html.haml index fdbf8c5ee6..afa28624f0 100644 --- a/app/views/groups/index.html.haml +++ b/app/views/groups/index.html.haml @@ -22,11 +22,10 @@ .row.pad-top{bindonce: true} .small-12.columns .group-hero - %img.group-hero-img{"bo-src" => "{{group.promo_image}}"} + %img.group-hero-img{"bo-src" => "group.promo_image"} %img.group-logo{"bo-src" => "group.logo"} %h3.group-name {{ group.name }} %h5.group-description {{ group.description }} - / Will - scale large images down to 1200px wide, crop in to img aspect ratio 60W:13H .row.pad-top{bindonce: true} .small-6.columns