From 5bd7485ca61e2fe7a1e7a2a155f3fcdf85dae780 Mon Sep 17 00:00:00 2001 From: Will Marshall Date: Wed, 4 Jun 2014 15:42:30 +1000 Subject: [PATCH] Restoring the image --- app/views/shopping_shared/_about.html.haml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/app/views/shopping_shared/_about.html.haml b/app/views/shopping_shared/_about.html.haml index e03eb05255..5e630b4d7f 100644 --- a/app/views/shopping_shared/_about.html.haml +++ b/app/views/shopping_shared/_about.html.haml @@ -2,7 +2,8 @@ .row .small-12.large-9.columns %p= current_distributor.long_description.andand.html_safe - .small-12.large-3.columns - / Hide image until image styles are working correctly: - / %img.about.right{src: current_distributor.promo_image.url(:large)} + + - if current_distributor.promo_image.exists? + .small-12.large-3.columns + %img.about.right{src: current_distributor.promo_image.url(:large)}